159
python ; (rytter.me)
you are viewing a single comment's thread
view the rest of the comments
[-] Rooki@lemmy.world 19 points 3 years ago

And added

  • Shitty
    • Little
    • Indentations
[-] BigBon@lemmy.fmhy.ml 7 points 3 years ago

And then you do the same in c with ; for better readability

[-] TwilightKiddy@programming.dev 3 points 3 years ago

Sometimes inline stuff is more readable.

[-] fushuan@lemm.ee 3 points 3 years ago* (last edited 3 years ago)

We got that in python too!

your_mom = "the best" if i_got_icecream() else "just good"

Edit: on a more serious note, I'm not sure if python's syntax helps with readability, in the real world everyone indents or you won't really keep your job, and I've read some really shitty python code anyway, indented or not.

If a c/++/js/whatever file is unreadable, grab your favourite flavour of autoformatter and run it to read the thing, but shitty naming won't get fixed by that.

[-] FUsername@feddit.de 1 points 3 years ago* (last edited 3 years ago)

...and I am not sure which of both evil grind my gears more.

[-] Rooki@lemmy.world 0 points 3 years ago

then use javascript :) it has neither

[-] FUsername@feddit.de 2 points 3 years ago* (last edited 3 years ago)

...guess what I do for a living ๐Ÿ˜œ But there, I dislike the typelessness.

[-] Rooki@lemmy.world 2 points 3 years ago
[-] FUsername@feddit.de 0 points 3 years ago

I would really like to, but it is not supported on the target, sooo...

[-] Rooki@lemmy.world 1 points 3 years ago* (last edited 3 years ago)

You know typescript is a language that is getting transpiled to plain js. ( Module, CommonJS, almost every version ). So it can not not fit in there XD

this post was submitted on 13 Jul 2023
159 points (92.1% liked)

Programmer Humor

44155 readers
7 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 7 years ago
MODERATORS