this post was submitted on 16 Aug 2023
25 points (90.3% liked)

Programmer Humor

32410 readers
313 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

TIL about the greek question mark

Tell me, can you tell the difference between these two characters?

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

all 23 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 year ago (2 children)

Like r/programmerhumor, this community is already full of people who literally never programmed anything more than Hello World before.

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

And just like Reddit you're complaining about it for absolutely no reason. How about we try to be a bit more welcoming and a bit less gatekeepery.

[–] [email protected] 2 points 1 year ago

That's kind of an absurd position when the explicit purpose of segmented communities is to gatekeep content.

[–] [email protected] 0 points 1 year ago (1 children)

I realize my attitude is negative, but r/programmerhumor was not my crowd and it looks like neither is this community. There is no place where I can find memes about a large part of my life and I'm frustrated.

"Missing semicolon", "light IDE is for psychopaths", "JS sucks", "AI is just if-statements", I just can't relate to those jokes and after the 100th repost I still don't think they're funny.

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

I'm curious, what would you prefer? Reposts suck, but dunking on the languages everyone agrees are bad and complaining about debugging is the only version of programmer humour I'm familiar with.

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

I found this blog article with some xkcd comics that I find hilarious, if that helps

[–] [email protected] 1 points 1 year ago

XKCD is indeed awesome.

[–] [email protected] 0 points 1 year ago

Just because a meme is not reality doesn't mean it can't be funny.

[–] [email protected] 5 points 1 year ago

yea... every modern IDE makes it extremely obvious of the unicode character.....

SO.... yea...

If you really wanted to be evil, zero-width space is the worst.

https://symbl.cc/en/200B/

You don't see it.

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

I get this warning in my IDE (VS Code) so I feel safe:

The character U+037e ";" could be confused with the ASCII character U+003b ";", which is more common in source code.

[–] [email protected] 2 points 1 year ago

Well, there goes my diabolical plan, crushed like a bug under someone else's shoe. Back to the drawing board, I guess.

[–] [email protected] 2 points 1 year ago

Вгь, Iмa gо sрrinкlе sоме cугilliс снаггастегs аll оvег sомеоnе's lаrаvеl vаlidатiоn гules

(The аеос's are the most evil ones)

[–] [email protected] 2 points 1 year ago

I thought zero width whitespace characters were the ones to go for if you want to be evil.

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

Laughs in just removing all semicolons because it's not necessary in JS.

[–] [email protected] 0 points 1 year ago (1 children)

It is recommended. But in TS it is not necessary with rare exceptions.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

That's what's really irks me be about JS--you can do just about whatever but you're not supposed to.

It's an imperative language, but best practices are to use it functionally.

You can omit semicolons, but best practices are to use them.

You can use sloppy equality, but best practices are to always use strict.

[–] [email protected] 2 points 1 year ago

JavaScript reminds me of an older brother who happens to be the most laid back stoner you could meet. "Like yea man, you should probably use semicolons, but I ain't gonna narc"

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

Just remove everything that looks like a semicolons, problem solved. You don't need semicolons in JS

[–] [email protected] -4 points 1 year ago

Unicode was a mistake.