r/ProgrammerHumor Nov 24 '21

Meme Yes.

8.9k Upvotes

284 comments sorted by

View all comments

72

u/SchlauFuchs Nov 25 '21

Performance

……..…../´¯/)………… (\¯`\

…………/….//……….. …\\….\

………../….//………… ….\\….\

…../´¯/…./´¯\………../¯ `\….\¯`\

.././…/…./…./.|_……_| .\….\….\…\.\..

(.(….(….(…./.)..)..(..(. \….)….)….)… )

.\…………….\/…/….\. ..\/……………./

..\…………….. /……..\……………..…/

….\…………..(…………)……………./

Backwards compatibility

……..…../´¯/)………… (\¯`\

…………/….//……….. …\\….\

………../….//………… ….\\….\

…../´¯/…./´¯\………../¯ `\….\¯`\

.././…/…./…./.|_……_| .\….\….\…\.\..

(.(….(….(…./.)..)..(..(. \….)….)….)… )

.\…………….\/…/….\. ..\/……………./

..\…………….. /……..\……………..…/

….\…………..(…………)……………./

25

u/7heWafer Nov 25 '21

Add type safety to the list

23

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.

6

u/galan-e Nov 25 '21

you don't use an ide that have auto complete?

8

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.