this post was submitted on 25 Jan 2024
30 points (96.9% liked)

Programmer Humor

19207 readers
1027 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 50 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 7 months ago

parseInt(0.00000000005)

5

[โ€“] [email protected] 0 points 7 months ago* (last edited 7 months ago)

I'm JavaScript developer. I love coding WebApps. JS sucks๐Ÿ’ฉ.

[โ€“] [email protected] 1 points 7 months ago

it depends on what your definition of is is

[โ€“] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)
[โ€“] [email protected] 1 points 7 months ago

Basically Java in a nutshell

[โ€“] [email protected] 0 points 7 months ago

Don't forget that _.isFinite('1') returns true ;)

[โ€“] [email protected] 1 points 7 months ago

JS devs should have a font that turns == into โ‰ˆ.

[โ€“] [email protected] 1 points 7 months ago (1 children)

As a backend developer i still dont know a shit what that means

[โ€“] [email protected] 0 points 7 months ago

In javascript, === does not perform type coercion when checking for equality

[โ€“] [email protected] 6 points 8 months ago* (last edited 8 months ago) (1 children)
[โ€“] [email protected] 0 points 8 months ago

eight equals equals equals equals equals equals equals equals equals capital d tilde tilde

[โ€“] [email protected] 0 points 8 months ago (2 children)

Mathematica also has an === operator. And :=.

[โ€“] [email protected] 0 points 8 months ago

What does the walrus operator do?

[โ€“] [email protected] 0 points 8 months ago (1 children)

It's also very language specific, like Pascal/Delphi also have ":=" for assignments and "=" for comparison, etc

[โ€“] [email protected] 0 points 8 months ago

That makes much more sense than the other way.

[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)
[โ€“] [email protected] 0 points 8 months ago (1 children)

Reddit: 1+1=your muther (sic, x2)

X: 1+1โ‰ˆwe should violently overthrow the government

4chan: nvm, I don't want to get banned for saying this one

[โ€“] [email protected] 0 points 8 months ago (1 children)
[โ€“] [email protected] 0 points 8 months ago

No, that's Discord ๐Ÿ™ƒ

load more comments
view more: next โ€บ