Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
voodoo145607yDo you know of other languages with these concept of data classes besides kotlin and python ??
-
@voodoo14 it seems to be based off ADTs (algebraic data types) and record types in languages like F# and Haskell.
-
ODXT32837y@CorruptComputer
From my understanding they added something to make creating classes easier.
How?
Looks like they are omitting some methods which are standard. So it should make things simpler and cleaner. -
@CorruptComputer basically, you can now define class fields just like you would in most OO languages. It used to be that you had to create them in the constructor, which wasn't very readable.
Related Rants
-
linuxxx30At my study's final exams, I coded a system with login and everything included. Showed it at the final delive...
-
cave11Admin: "Wait, I noticed unusual traffic." Me: "What is it?" Admin: "Looks like we have a bot here." Me: "A ...
-
dfox6This was during the first day of my first real dev job, straight out of college. I didn’t have have much exp...
So I'm not sure if I should be happy or sad about this feature on python 3.7
rant
python 3
updates
wk110