DEV Community

Cover image for Meme Monday

Meme Monday

Ben Halpern on September 16, 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
 
best_codes profile image
Best Codes

Imeme

Collapse
 
martinbaun profile image
Martin Baun • Edited

Image description

Collapse
 
jimmymcbride profile image
Jimmy McBride

This is me πŸ’―

Collapse
 
martinbaun profile image
Martin Baun

Haha, feel you on that one πŸ˜‚

Collapse
 
mr_nova profile image
Ijeoma M. Jahsway

Sooo me πŸ˜‚

Collapse
 
kernelpanik profile image
Joseph Redman

Image description

Collapse
 
jagedn profile image
Jorge

"how to kill a daemon"

Collapse
 
best_codes profile image
Best Codes

β€œDelete table from snowflake”

This is the best meme I've seen on DEV πŸ˜‚

Collapse
 
jjbb profile image
Jason Burkes

meme monday

Collapse
 
jagedn profile image
Jorge

current status

Image description

Collapse
 
blenderman profile image
BBM

meme monday

Collapse
 
ben profile image
Ben Halpern

Let's start with an awful AI-generated meme

awful meme

Collapse
 
primetarget profile image
Ethan Anderson

meme monday

Collapse
 
sawyerwolfe profile image
Sawyer Wolfe

meme monday

Collapse
 
raddevus profile image
raddevus • Edited

Even the syntax is incorrect. That's an anonymous function (arrow function) symbol, not a greater-than or equal to >= symbol. πŸ˜†
Everyone who upvoted this will have their Official Developer Card revoked!
You are on double-secret probation!!

Collapse
 
jerryhargrovedev profile image
Jerry Hargrive

meme monday

Collapse
 
darkwiiplayer profile image
π’ŽWii πŸ³οΈβ€βš§οΈ

...faster than zig? Damn, that's a lot of confidence, considering the language isn't even as polished as it intends to be 🀭

Collapse
 
oscarrodar profile image
Oscar Rodriguez

Faster than nocode?

Collapse
 
rtudeschini profile image
Rodrigo

Assembly?

Collapse
 
ivis1 profile image
Ivan Isaac

meme monday

Collapse
 
fred_functional profile image
Fred Functional

meme monday

Collapse
 
bernert profile image
BernerT

meme monday

Collapse
 
ryencode profile image
Ryan Brown

True tales of horror from my own youthful past:
Same as above, except with "DELETE"
... in client's production.

I'm better for it, but could have done without it.

Collapse
 
ksolomon profile image
Keith Solomon

Eh, it’s a rite of passage…you’re not really a dev until you break something important at the worst possible time…

Or so I’m told… 😁

Collapse
 
pramon18 profile image
pramon18

Rollback

Collapse
 
n13 profile image
Nikolaus

"we didn't just delete the entire user accounts table on mainnet did we?"

"rollback"

"it's blockchain, there's no rollback - it's live on mainnet for everyone to see, forever."

Collapse
 
youngfra profile image
Fraser Young

meme monday

Collapse
 
anras573 profile image
Anders Bo Rasmussen

Why is this one so accurate? πŸ˜‚

Collapse
 
avanichols profile image
Ava Nichols

meme monday

Collapse
 
dreama profile image
Dream

meme monday

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Funny thing, I've also heard that "very clearly written/self-explanatory" quote from senior devs. Normally the ones you don't want to work with, you know, those who leave the company right after delivering their beautifully uncommented code for others to maintain.

Collapse
 
n13 profile image
Nikolaus

Funny thing, some of the best code I have reviewed had no comments or other documentation.

It was just good code that was self-explanatory.

Some of the worst code I have reviewed had a ton of comments and documentation - it needed it, since it made no sense.

So as I am concerned good code > documentation.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

I agree "Good Code > Documentation".

Unfortunately, the idea of "self-explanatory" varies from person to person, and especially, from experience level to experience level. What may be clear to one developer may not be so self-explanatory to another. You can have the most amazing, beautifully crafted, perfectly architected, self-explanatory code, but if the next person doesn't understand it... then it's not so amazing or self-explanatory anymore.

So why not extend that a bit: "Documented Good Code > Good Code > Documentation."

Thread Thread
 
n13 profile image
Nikolaus

Self-explanatory is certainly different from person to person, that is true.

The code I was referring to was written the same way I'd have written it, minimal solutions, no extra fluff, no magic numbers, no magic behind the scenes stuff going on, no extraneous abstraction.

"Good code needs no documentation" sounds like cowboy style old school macho thinking - however, in my 20 years of experience, there is truth to it.

In SE classes, and code tutorials, documentation is often talked about as absolutely necessary and the gold standard of good practice - I have not seen this play out in reality or real life. Hardly anybody writes documentation, and when people do, it gets outdated in the next version since nobody thinks to update the docs either.Or auto-generated docs that have no substance.

I would say if you go write documentation then write examples on how to use the APIs or libraries - that's useful. I don't see it enough.

Don't spend time explaining what methods are doing - name them so they spell out what they're doing. Same with objects, variables. Save comments for the rare occasion something really obscure is happening - and know that the fact that something obscure is happening probably means your code is not good. When I find the need to write a comment on my code, so I can understand it a month from now, I always feel like it's a red flag - that code I wrote is probably not the best and simplest way to do it.

If you think about good code as being the documentation, then writing documentation on top of is is basically the same as duplicate code. It can get out of sync.

Collapse
 
sherrydays profile image
Sherry Day

meme monday

Collapse
 
warwait profile image
Parker Waiters

meme monday

Collapse
 
darkwiiplayer profile image
π’ŽWii πŸ³οΈβ€βš§οΈ

Unit tests are the only tests I somewhat enjoy writing, at least when I have the option of using a sane language

Collapse
 
jance_jacobs profile image
Jance Jacobs

meme monday

Collapse
 
cwrite profile image
Christopher Wright

meme monday

Collapse
 
duncan_true profile image
Dun

meme monday

Collapse
 
getsetgopi profile image
GP

I bet the message is from the project manager.

Collapse
 
chariebee profile image
Charles Brown

meme monday

Collapse
 
your-ehsan profile image
EHSAN.

Image description

Collapse
 
richmirks profile image
Richard Mirks

meme monday

Collapse
 
toppake profile image
Toppa

Image description

Collapse
 
gallowaydeveloper profile image
Galloway Developer

meme monday

Collapse
 
your-ehsan profile image
EHSAN.

Image description

Collapse
 
pillagerplayz profile image
Pillagerplayz πŸ’»πŸŒ

Teacher: Okay, class. This is a test. This should be easy for all of you. "11" + 1
Other Languages: 12!
Teacher: No!
Javascript: 111
Teacher Correct!

Collapse
 
n13 profile image
Nikolaus

Real coders use print statements