this post was submitted on 04 Apr 2024
240 points (93.5% liked)

Programmer Humor

18230 readers
1105 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] Feathercrown 30 points 2 months ago (3 children)

JS users sprinkling in a few semicolons whenever they feel like it

[–] marcos 10 points 2 months ago

JS itself sprinks them wherever it feels like it, so why break the mood?

[–] [email protected] 5 points 2 months ago (1 children)

JS is absolute chaos programming and I love that way too much. You can just feel all the caffeine ingested by the guy who had to pull long nights to ship JS within 10 days. That's exactly the vibe I'm going for with my code.

[–] Feathercrown 1 points 2 months ago
[–] [email protected] 3 points 2 months ago

Gotta keep you on your toes

[–] [email protected] 9 points 2 months ago (1 children)

Joke's on you, I use semicolons in Pythpn

[–] [email protected] 5 points 2 months ago (4 children)

How? For real I hate python not having ; and { and depending on tabs and spaces (PAIN)

[–] dustyData 8 points 2 months ago

Python supports both, it's just not pythonic. It's not the way it's meant to be written but you can write them if you want/are a masochist, because of the syntax's flexibility.

[–] [email protected] 5 points 2 months ago

You can end any statement in Python with a semicolon, you can also put multiple statements on the same line, putting a semicolon between them.

[–] [email protected] 1 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

Nice, my lovely C syntax. Thank you!

[–] jaybone 1 points 2 months ago

You should try ruby.

[–] neonred 7 points 2 months ago
[–] [email protected] 7 points 2 months ago (1 children)

Binds enter key with ; and remove semicolons manually after braces{

[–] fluxion 17 points 2 months ago* (last edited 2 months ago) (1 children)

Writes custom parser in python to automate removing semicolons after braces. Figures out a preprocessing hook to execute it automatically from java compiler. Starts extending it for other things. Misses deadline. Extends it for more things. Gets fired. Ends up with a full python -> java compiler. Posts project on github. Gets made fun of.

[–] jaybone 3 points 2 months ago

I will not make fun of you pal.