Learn more about computerscience with this collection
Understanding machine learning models
Improving data analysis and decision-making
How Google uses logic in machine learning
In the beginning there where:
Later Named Tuples where added as a code generator with the goal of adding names to the fields of a tuple. This was limited by design, hence its name
ORMs appeared and pioneered using class attributes to specify rich data structures
In Python 3.6, it became possible to supply type annotations
5
28 reads
MORE IDEAS ON THIS
Dataclasses are an implementation of a code generator, similar to a Named Tuple.
The idea of using a code generator is to save time and reduce wordiness.
There are two views about the purpose of Dataclasses:
5
40 reads
In the image example, the generated code includes:
5
32 reads
The code generation can be configured by providing keyword a...
5
21 reads
5
21 reads
CURATED FROM
IDEAS CURATED BY
I started using Dataclasses and I think you should too
“
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