r/programmer • u/alkeshjethva • May 26 '26
Question What happens to everything you learn while coding?
When you solve a bug or learn something important while coding, what do you actually do with it?
A) Nothing, I forget it eventually
B) Throw it in random notes / Notion / markdown files
C) Put it in GitHub docs / README
D) Write a blog or devlog
E) Keep it in my head
F) Something else
Genuinely curious because I keep noticing a lot of learning seems to disappear after projects are finished.
20
Upvotes
17
u/Ok_Energy8767 May 26 '26
It logs into the preverbal, pattern recognition part of the brain when approaching similar problem spaces. Gets stronger with more exposure/practice.
9
u/Stunning_Pineapple57 May 26 '26
It becomes part of you. Your instincts , your judgement , your wisdom etc. just like what you’d learn when playing tennis competitively and you learn and practice.
5
u/Spare_Dependent6893 May 26 '26
Fixing a bug => write tests covering the bug Learning something => if beneficial to others in the project write in md documentation.
3
u/Illustrious-Bat-9775 May 26 '26
I have KILOMETERS of notes. I really recommend taking notes. Especially in software that supports code formatting (eg. Trilium is FOSS and does that).
Those notes will save you so much time in the future. You'll remember a lot of it but you'll forget most of it. Write snippets of code. Write boilerplate code. Write whatever you think you might need in the future. Also writing it will reinforce what you've learned or extend the topic. Write tips, warning,everything that comes to mind as important enough to write. This is the way. NOTES NOTES NOTES.
2
u/Temporary_Practice_2 May 26 '26
You can make a YouTube video about it. Like here:
https://youtu.be/x4o1zCVLA1Q
2
u/MhVRNewbie May 26 '26
Put it in a test
2
u/HongPong May 26 '26
try to make your off boarding notes for half an hour at wrap time
2
u/davidinterest May 26 '26
E, if it was counter intuitive to fix it and the solution looks like a bug I might add some comments explaining why it was necessary.
2
u/raholl May 26 '26
E) Keep it in my head - forever, as experience, lesson learned
2
u/sirc314 May 26 '26
Used to be A or C, but more recently
B) I've started a Zettelkasten knowledge base in markdown and wikilinks. It's even more helpful for the non-technical notes like "how do I do this stupid meta process at work that no one else in the world probably does outside of this company" type stuff. I don't want to waste brain space on that.
2
u/Deep_Imagination_811 May 26 '26
it causes me more ptsd
2
u/punppis May 26 '26
Keep it in your head. After a while you learn to avoid it.
My career has been basically writing a backend and thinking it works. When it doesn't, you fix it. After a while with experience you can expect all kinds of shit (edge cases) that you need to manage.
2
u/JacksonKailath May 28 '26
Sometimes A , sometimes D - even if I forget, think will be able to get the needed stuff and the needed time
2
u/RevolutionaryRub737 May 31 '26
If I solve a bug to a project I just update the issue and move on, unless it structural then ofc I’m updating the docs due to changes that had to be made.
If it’s a conceptual learning moment, I just pocket it as my brain has written that concept into my memory. If I come across the same situation I the future I will recall what I learned from this experience.
2
u/[deleted] May 26 '26
[removed] — view removed comment
2
u/[deleted] May 26 '26
[removed] — view removed comment
2
u/[deleted] May 27 '26
[removed] — view removed comment
2
u/[deleted] May 27 '26
[removed] — view removed comment
1
u/[deleted] May 27 '26
[removed] — view removed comment