News for hackers. Stuff that matters.
Re:Hard-to-swallow truths they won't tell you about software... by justin_oaks on Wednesday November 08, 2023 @01:43PM (#38194944)
I remember a time in my career when I looked at some code and I was truly impressed by whoever had written it. It was different from the code I was used to finding in the company's codebase. The intent was clear, it was efficient, etc. I looked into the source code history to see who wrote it. I was surprised to find that I had written it, but I'd entirely forgotten writing it. I got a good laugh out of that... but I was mildly disappointed that I couldn't praise someone else.

Of course this is the exception rather than the rule. I've done a lot of revision on my code. If you don't look back on your code and think of ways it can improve then there's a good chance you're not learning.

Re:Hard-to-swallow truths they won't tell you about software... by foobazgt on Wednesday November 08, 2023 @03:09PM (#38196217)
"If you don't look back on your code and think of ways it can improve then there's a good chance you're not learning."

I say this exact same thing to junior engineers who are acclimating to code reviews and might be suffering a bit from imposter syndrome.

Re:Hard-to-swallow truths they won't tell you about software... by 9dev on Wednesday November 08, 2023 @03:23PM (#38196402)
I love these rare moments when I think of solving some problem, figure out what I need to do and where, proceed to get started - only to notice I have already done this exactly the way I had planned, but forgot about it.