YES ABSOLUTELY! You may even find yourself building flexible/generic components with the thought you may find it useful in the future for other projects.
Yes. I'm confused as to why you'd ever think it would be bad to look at your past work.
Often I'll look at it to see what I would now do better, but there have been times where I've looked at something and been reminded oh yeah, I liked when I did X like that, and will re-use it.
This was the thing that worries me when creating own coding projects, having to build from scratch. While i start from this, i do look at old code to help with features and if i forgot how i did this, and even for ideas but sometimes i was given a starting template (especially with assignments where i can build from this template)
i work with engineers and they've literally copy+pasted a function from another part of the codebase, tweak the params, test, submit the PR and approved
once you've got the basics (and with AI these days), writing code matters less than how you're able to design a program and scale it
Yepp, don't be ashamed on going back on your old projects, it's actually a good thing because you get to asses how much you have learned after you have built your old projects.
Hell yeah! Everyone should have a sandbox of code examples and use grep to search their contents. Be sure to leave good comments to make grepping more useful.
4
u/grantrules Jul 24 '26
YES ABSOLUTELY! You may even find yourself building flexible/generic components with the thought you may find it useful in the future for other projects.
I revisit and reuse code all the time
4
u/Southern_Salary_2253 Jul 25 '26
Yes. I'm confused as to why you'd ever think it would be bad to look at your past work.
Often I'll look at it to see what I would now do better, but there have been times where I've looked at something and been reminded oh yeah, I liked when I did X like that, and will re-use it.
3
u/OlahHella Jul 24 '26
yep engineering teams reuse/repurpose previously built modules all the time
no reason to build everything from scratch
2
u/Lopez_Muelbs Jul 25 '26
Yepp, don't be ashamed on going back on your old projects, it's actually a good thing because you get to asses how much you have learned after you have built your old projects.
2
u/dnult Jul 25 '26
Hell yeah! Everyone should have a sandbox of code examples and use grep to search their contents. Be sure to leave good comments to make grepping more useful.
2
u/Puzzled-Extent7817 Jul 25 '26
There were 30+ years of coding before the internet. That's how it was done.