this post was submitted on 17 Nov 2023
202 points (97.6% liked)

memes

9334 readers
1260 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
all 15 comments
sorted by: hot top controversial new old
[–] poplargrove@lemmy.world 14 points 9 months ago (1 children)
[–] TheOctonaut@mander.xyz 3 points 9 months ago

Is there a language where I can alias return as "Ultimately ,"

[–] Kidplayer_666@lemm.ee 11 points 9 months ago

Why does this code feel so familiar? It looks just like the code I helped some noob with on Stack overflow 40 minutes ago

[–] thedevisinthedetails@programming.dev 10 points 9 months ago (2 children)

Plot twist: the senior dev is the one who copy and pasted it after the junior dev's code didn't work

[–] bruhduh@lemmy.world 2 points 9 months ago* (last edited 9 months ago) (1 children)

Plot twist: the senior dev is the one who made that answer on stackoverflow

[–] idunnololz@lemmy.world 2 points 9 months ago

Senior developer is junior developer father?

[–] Knusper@feddit.de 8 points 9 months ago

My favorite is when the top-voted, accepted answer looks correct, but misses various edge-cases. And then there's a second-most-voted answer which corrects the first.

Most questions about JavaScript are like that, for example, which was rather horrifying to realize. If you just leave a junior to their devices with that, they will absolutely copy all these correct-looking answers into your code base.

[–] dylanTheDeveloper@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

Worst is C code where people don't specify what version there useing or they use features or functions from third party libraries they don't include in the awnser when they post code (they post code with custom functions without pointing out it's from an obscure git repo that requires a 1:1 ide setup).

And sometimes people posts code that appears to fix the problem but will end up causing massive code refractoring later

[–] slazer2au@lemmy.world 1 points 9 months ago

Is he copying a working answer or the initial question?

[–] danieljoeblack@kbin.social -1 points 9 months ago

SO is not a forum, it's a knowledge repository. One of the sites biggest problems (aside from the company not listening to its users) is that confusion. It's not a help desk, it's not a code writing service, and most certainly not a forum.

[–] evanuggetpi@lemmy.nz -2 points 9 months ago

Stack Overflow is dead