this post was submitted on 14 Aug 2023
674 points (95.1% liked)

Programmer Humor

19721 readers
63 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
 
all 44 comments
sorted by: hot top controversial new old
[–] [email protected] 233 points 1 year ago* (last edited 1 year ago) (4 children)

Jennifer is a lesbian. Her wife, now husband, who she’s proudly supportive of, is FtM, with 3 previous children that Jennifer adopted. Jennifer has never had penetrative sex with a man.

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

Found the senior dev

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

… checks out.

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

interpreter programming language

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

This would make her not a lesbian after her husband transitioned.

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

Depends. Could be. A person transitioning doesn't necessitate their partner finding their new body attractive.

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

artificial insemination; beard marriage, loves her husband platonically. I am a JS dev.

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

Lesbian, in marriage with another lesbian and adopted 3 kids. Still virgin.

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

Her partner is actually a woman, but dynamic type casts made her write "husband".

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

and by kids, she means their cats and/or dogs

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

Ah yes, the fursons and furdaughters.

[–] colorado 11 points 1 year ago (1 children)

We prefer the gender neutral fur baby in this household.

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

That's ageist.

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

I was thinking they were his kids from the previous marriage, though artificial insemination works just as well!

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

I've had a JavaScript certification for over a decade now and I think I hate you.

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

Simple. Malformed data from.a bad actor. Always sanity check your shit.

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

If you have that much difficulty with JavaScript then it’s likely you’ll suffer with any language.

[–] MakeAvoy 5 points 1 year ago (2 children)

Except strict equality, that's a JavaScript only problem. Imagine thinking "0" should be falsy in comparison due to string literal evaluation, but truthy with logical not applied based on non-empty string. Thus !"0"=="0" is true. They couldn't just throw away == and start over nooooo let's add === . Utter madness

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

Browser compatibility. Design flaws can't easily be fixed like how other languages can just switch to a new major version and introduce breaking changes. ES must keep backwards compatibility so has had to do more additive changes than replacing behavior altogether so that older web pages pages don't break.

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

Meanwhile google is about to break the internet with html drm

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

Strict vs loose equality has gotten me so many times, but I can sort of see why they did it. The problem you mention with integers 0 & 1 is a major annoyance though. Like it is fairly common to check whether a variable is populated by using if (variable) {} - if the variable happens to be an integer, and that integer happens to be 0, loose quality will reflect that as false.

But on the other side, there have been plenty of occasions where I'm expecting a boolean to come from somewhere and instead the data is passed as a text string. "true" == true but "true" !== true

[–] MakeAvoy 3 points 1 year ago

Lua does intrinsic evaluation of strings that i'd argue is not nearly as crazy. I get the value of it since half of interpreted languages it just churning through strings. But I also don't recommend any large codebase ever use JS's == or string coercion because it can go against expectations. This graph argues in JS's favor but comparison is a little more crazy https://algassert.com/visualization/2014/03/27/Better-JS-Equality-Table.html

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

!NaN

(Translation: I agree)

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

Any senior developer who says that should instantly get a demotion to intern.

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

There are two kinds of simple

  • Simple to learn to use
  • Simple to understand, and use at a complex level.

JavaScript is the first, but definitely not the second.

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

Which part? Saying that it's simple, or making fun of saying that it's simple?

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

And I thought kotlin was crazy with whatever (modifier: Modifier = Modifier) means to make it happy