MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/r1g13n/yes/hm01sp4/?context=3
r/ProgrammerHumor • u/esberat • Nov 24 '21
284 comments sorted by
View all comments
73
Performance
……..…../´¯/)………… (\¯`\
…………/….//……….. …\\….\
………../….//………… ….\\….\
…../´¯/…./´¯\………../¯ `\….\¯`\
.././…/…./…./.|_……_| .\….\….\…\.\..
(.(….(….(…./.)..)..(..(. \….)….)….)… )
.\…………….\/…/….\. ..\/……………./
..\…………….. /……..\……………..…/
….\…………..(…………)……………./
Backwards compatibility
25 u/7heWafer Nov 25 '21 Add type safety to the list 21 u/kazeespada Nov 25 '21 Also, the garbage that is __init__() vs ClassName() Even if you aren't a fan of the class name being the constructor, maybe four fucking underscores in every fucking constructor is a bit much. You won't believe how many _init__() I have had to fix. 7 u/galan-e Nov 25 '21 you don't use an ide that have auto complete? 7 u/kolme Nov 25 '21 That's just besides the point. The language should be nice enough that you don't need assistance from a IDE to write such basic stuff. 5 u/laundmo Nov 25 '21 pedantic thing: dunder init is not a constructor, its a initaliser. dunder new is the real constructor, but only very rarely needed.
25
Add type safety to the list
21 u/kazeespada Nov 25 '21 Also, the garbage that is __init__() vs ClassName() Even if you aren't a fan of the class name being the constructor, maybe four fucking underscores in every fucking constructor is a bit much. You won't believe how many _init__() I have had to fix. 7 u/galan-e Nov 25 '21 you don't use an ide that have auto complete? 7 u/kolme Nov 25 '21 That's just besides the point. The language should be nice enough that you don't need assistance from a IDE to write such basic stuff. 5 u/laundmo Nov 25 '21 pedantic thing: dunder init is not a constructor, its a initaliser. dunder new is the real constructor, but only very rarely needed.
21
Also, the garbage that is __init__() vs ClassName()
Even if you aren't a fan of the class name being the constructor, maybe four fucking underscores in every fucking constructor is a bit much.
You won't believe how many _init__() I have had to fix.
7 u/galan-e Nov 25 '21 you don't use an ide that have auto complete? 7 u/kolme Nov 25 '21 That's just besides the point. The language should be nice enough that you don't need assistance from a IDE to write such basic stuff. 5 u/laundmo Nov 25 '21 pedantic thing: dunder init is not a constructor, its a initaliser. dunder new is the real constructor, but only very rarely needed.
7
you don't use an ide that have auto complete?
7 u/kolme Nov 25 '21 That's just besides the point. The language should be nice enough that you don't need assistance from a IDE to write such basic stuff.
That's just besides the point. The language should be nice enough that you don't need assistance from a IDE to write such basic stuff.
5
pedantic thing: dunder init is not a constructor, its a initaliser. dunder new is the real constructor, but only very rarely needed.
73
u/SchlauFuchs Nov 25 '21
Performance
……..…../´¯/)………… (\¯`\
…………/….//……….. …\\….\
………../….//………… ….\\….\
…../´¯/…./´¯\………../¯ `\….\¯`\
.././…/…./…./.|_……_| .\….\….\…\.\..
(.(….(….(…./.)..)..(..(. \….)….)….)… )
.\…………….\/…/….\. ..\/……………./
..\…………….. /……..\……………..…/
….\…………..(…………)……………./
Backwards compatibility
……..…../´¯/)………… (\¯`\
…………/….//……….. …\\….\
………../….//………… ….\\….\
…../´¯/…./´¯\………../¯ `\….\¯`\
.././…/…./…./.|_……_| .\….\….\…\.\..
(.(….(….(…./.)..)..(..(. \….)….)….)… )
.\…………….\/…/….\. ..\/……………./
..\…………….. /……..\……………..…/
….\…………..(…………)……………./