Functional Purity - Deepstash

Functional Purity

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.

23

212 reads

CURATED FROM

IDEAS CURATED BY

Not your object oriented programming

The idea is part of this collection:

Machine Learning With Google

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

Structure of a well-formed argument

It does not use reasons that contradict each other, contradict the conclusion or explicitly or implicitly assumes the truth of the conclusion. Checklist:

  • Does the communication include at least one reason to support the conclusion as being true? If not, it is not an...

The GOLDEN RULE of habit change

The GOLDEN RULE of habit change

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, b...

The Meaning Of Meaning

The Meaning Of Meaning

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.

Email

I agree to receive email updates