this post was submitted on 27 Feb 2025
98 points (99.0% liked)

Programmer Humor

33722 readers
415 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 4 days ago (2 children)

Personally I wouldn't abuse a language like that. If you want to write Python, write Python. Don't pretend some other language is Python, because it isn't. The braces need to be in the "correct" place, i.e. { at the end of a line or on a line on its own, and } on its own line, with both braces indented correctly for the code they contain. Braces are important visual and logical indicators in C-like languages and are critical in understanding the flow of the code.

That said, if this is some silly little noddy program that only you will ever see then you can write it however you want. Don't expect to be taken seriously as a competent dev though if this is going to be part of your public profile.

[–] [email protected] 5 points 3 days ago (1 children)

If this offends your sensibilities then I can't wait until you look at what someone did to C:

https://gist.github.com/shakna-israel/4fd31ee469274aa49f8f9793c3e71163#file-letsdestroyc-md

[–] [email protected] 3 points 2 days ago

Just show them the IOCCC why don't you?