244
all 16 comments
sorted by: hot top new old
[-] Feathercrown@lemmy.world 33 points 2 years ago

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

[-] marcos@lemmy.world 12 points 2 years ago

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

[-] python@programming.dev 6 points 2 years ago

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@lemmy.world 2 points 2 years ago
[-] isVeryLoud@lemmy.ca 5 points 2 years ago

Gotta keep you on your toes

[-] maynarkh@feddit.nl 11 points 2 years ago

Joke's on you, I use semicolons in Pythpn

[-] mariusafa@lemmy.sdf.org 7 points 2 years ago

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

[-] dustyData@lemmy.world 10 points 2 years 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.

[-] maynarkh@feddit.nl 7 points 2 years 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.

[-] jaybone@lemmy.world 3 points 2 years ago

You should try ruby.

[-] fl42v@lemmy.ml 2 points 2 years ago
[-] mariusafa@lemmy.sdf.org 2 points 2 years ago

Nice, my lovely C syntax. Thank you!

[-] mexicancartel@lemmy.dbzer0.com 8 points 2 years ago

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

[-] fluxion@lemmy.world 19 points 2 years ago* (last edited 2 years ago)

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@lemmy.world 4 points 2 years ago

I will not make fun of you pal.

this post was submitted on 04 Apr 2024
244 points (93.3% liked)

Programmer Humor

29967 readers
1030 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 2 years ago
MODERATORS