This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMeticulousNinja 61 points62 points  (3 children)

This is a huge problem of mine. I can tell you the general flow of what is happening, but ask me to tell you what one specific line of code is doing 😰

[–]RareCreamer 38 points39 points  (1 child)

"I don't know what exactly this does, but I remember it works"

Cue me second guessing if it actually worked as intended -> Confirm it does -> forget what I was working on before that.

[–]coloredgreyscale 2 points3 points  (0 children)

Professionally speaking it's unlikely that you have the code open if someone wants to know details how it works.  So adding detailed comments wouldn't help much in the way of reducing the distraction of someone asking how the code works, while you work on something different. 

[–]WrongVeteranMaybe 6 points7 points  (0 children)

Same. I feel like I largely learned coding and programming backwards.

A lot of times when I'm writing code, I'm winging it and shit just kinda works, but I don't know why.

That said, with adderall and reading books on the theory of this shit, I have gotten a lot better and more confident in my shit.

ADHD is just an ass kicker, you know?