DEV Community

Cover image for Meme Monday

Meme Monday

Ben Halpern on September 30, 2024

Meme Monday!

Today's cover image comes from last week's thread.

DEV is an inclusive space! Humor in poor taste will be downvoted by mods.

Collapse
 
jjbb profile image
Jason Burkes

meme monday

Collapse
 
sreno77 profile image
Scott Reno

Too real...

Collapse
 
thaisavieira profile image
Thaísa Vieira

Oh no, this is me!

Collapse
 
ivanhapz profile image
Ivanha Paz

repurposing my greatest reddit achievement
dev standup starter pack

Collapse
 
arndom profile image
Nabil Alamin

Image description

Was going through my screenshots and found this gem lol🫣

Collapse
 
best_codes profile image
Best Codes

I used AI to generate a DEV post!

post

Collapse
 
ben profile image
Ben Halpern

Let's kick things off with this week's awful AI-generated meme

Meme monday

Collapse
 
ben profile image
Ben Halpern

Don't you just lche it?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

so nus libdares to use! I lche ipen source so much. Oio source is so much better.

Thread Thread
 
fyodorio profile image
Fyodor

These Irish developers…

Collapse
 
fred_functional profile image
Fred Functional

meme monday

Collapse
 
hbthepencil profile image
HB_the_Pencil

Ah, the meme that is actually only funny to people who know what it means... I could show my mom some of these and she would laugh. I'd be the only one laughing at this one XD

Collapse
 
fyodorio profile image
Fyodor

Nah, I think there are many devs that worked with Angular here, you’re not the only one 😅

Thread Thread
 
hbthepencil profile image
HB_the_Pencil

I haven't even used Angular, I just get the concepts 😅

Thread Thread
 
ezpieco profile image
Ezpie

same here, react developer, but I still get the angular jokes

Collapse
 
cwrite profile image
Christopher Wright

meme monday

Collapse
 
ezpieco profile image
Ezpie

sadly no open-source library for that

Collapse
 
richmirks profile image
Richard Mirks

meme monday

Collapse
 
ansilgraves profile image
Ansil Graves

meme monday

Collapse
 
bernert profile image
BernerT

meme monday

Collapse
 
lakshita_kumawat profile image
Lakshita Kumawat

;-;

Collapse
 
dreama profile image
Dream

meme monday

Collapse
 
jerryhargrovedev profile image
Jerry Hargrive

meme monday

Collapse
 
blenderman profile image
BBM

meme monday

Collapse
 
avanichols profile image
Ava Nichols

meme monday

Collapse
 
duncan_true profile image
Dun

meme monday

Collapse
 
ivis1 profile image
Ivan Isaac

meme monday

Collapse
 
jance_jacobs profile image
Jance Jacobs

meme monday

Collapse
 
chariebee profile image
Charles Brown

meme monday

Collapse
 
schemetastic profile image
Schemetastic (Rodrigo)

You are right! BUUUUT!!!

Then stuff like this happen:
ZeroToHeroGuy79: “Wait a minute cowboy! You didn't do type verification on this one, better try this one:”

if (typeof x == "number"){
   return  x % 2 !== 0
} else {
    throw TypeError(`Value on x is not a number, is: ${typeof x}`)
}
Enter fullscreen mode Exit fullscreen mode

But then someone will tell you:

Brogrammer1024: hol'up brother! typeof is not that reliable, and you can not trust the user, NaN values (Not a number) are considered numbers with typeof and that method will always return true.

DarkDenoBunVader4: “Yeah, the same will happen with Infinity and -Infinity”

Better try this one:

if (typeof x == "number" && !isNaN(x) && isFinite(x)){
   return  x % 2 !== 0
} else {
    throw TypeError(`Value on x is not a valid number`)
}
Enter fullscreen mode Exit fullscreen mode

And it can go on on forever.

Collapse
 
best_codes profile image
Best Codes

x % 2 !== 0 can be wrong. Sometimes, x is not an integer, due to JavaScript's floating point bug.



console.log(NaN % 2 !== 0); // => true
console.log('abc' % 2 !== 0); // => true


Enter fullscreen mode Exit fullscreen mode

Those don't work either. :D

Collapse
 
sawyerwolfe profile image
Sawyer Wolfe

meme monday

Collapse
 
sherrydays profile image
Sherry Day

meme monday

Collapse
 
youngfra profile image
Fraser Young

meme monday

Collapse
 
primetarget profile image
Ethan Anderson

meme monday

Collapse
 
gallowaydeveloper profile image
Galloway Developer

meme monday

Collapse
 
warwait profile image
Parker Waiters

meme monday