this post was submitted on 14 Jan 2025
273 points (89.8% liked)

Programmer Humor

20006 readers
888 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] steventhedev@lemmy.world 43 points 4 days ago (2 children)

Clearly your gender field is a boolean. Which means it can be either true, false, null, or undefined. Except in javascript where for some reason it can sometimes be NaN, but only when you try to compare two people.

[–] zea_64@lemmy.blahaj.zone 14 points 4 days ago

My gender is

{ toString: ()=>{String.prototype.toString = ()=>">:3"; return ":3";} }
[–] Artyom@lemm.ee 6 points 3 days ago

A boolean, so 8 bits of freedom to fill up