this post was submitted on 22 Oct 2024
228 points (86.5% liked)

Technology

59377 readers
3189 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AceBonobo@lemmy.world 53 points 3 weeks ago (3 children)

The real learning comes from debugging the garbage code you copied from stack overflow

[–] hendrik@palaver.p3x.de 22 points 3 weeks ago* (last edited 3 weeks ago)

I mean it also contains great stuff. Niche workarounds, ways to do something more efficiently than some standard library function does.

You just need a means of telling apart the good and the bad. Because there's also people smashing their forehead on the keyboard until it happens to be something that compiles. And people repeating urban legends and outdated info. You somehow need background knowledge to tell which is which. AI didn't invent phrasing some nonesense with full conviction. It is very good at doing exactly that, but we humans also have been doing that since the beginning of time.

[–] peopleproblems@lemmy.world 8 points 3 weeks ago

Debugging and being able to interpret documentation when it exists.

But good lord, the amount of programmers I work with that never use an IDE debugger is unreal. I get that you don't have to, but Jesus Christ, if yout not getting an expected result, it's way fucking faster to step through the code and see where the data changes then to slap logging into every line and attempt to read the output.

[–] wewbull@feddit.uk 7 points 3 weeks ago (1 children)

Debugging only teaches logic. Not structure. No amount cut, paste, debug with teach you the factory pattern.

[–] vzq@lemmy.world 2 points 3 weeks ago

Which is widely overused.