If a function returns same value for the same argument every time, then the function is pure. That generally means that, the function cannot use any state values that could potentially change.
24
209 reads
CURATED FROM
IDEAS CURATED BY
Not your object oriented programming
“
The idea is part of this collection:
Learn more about computerscience with this collection
Understanding machine learning models
Improving data analysis and decision-making
How Google uses logic in machine learning
Related collections
Similar ideas to Functional Purity
It does not use reasons that contradict each other, contradict the conclusion or explicitly or implicitly assumes the truth of the conclusion. Checklist:
• We know that a habit cannot be eradicated. Instead, it must be replaced. Most habits are most malleable when the golden rule is applied:
• To change a habit, you must keep the old cue, and deliver the old reward...
The meaning of life generally means the relevance, significance or value of the same.
The quest for meaning is not a simple one, but a rabbit’s hole of further queries, making the concept of ‘meaning’ confusing even for positive psychologists.
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates