Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Understanding old code rarely gets one promotions.


sort by: page size:

I believe nobody could understand those stale and tricky code.

imho modern code is in general no very readable a lot of the time.

Insufficiently-abstract code is an impediment to understanding.

Not just the code. The code is rarely enlightening. To actually understand what's happening you'll need to at least skim the research behind it.

Those two views aren't necessarily opposites. Your old code can be hard to read, and other people's code can simply be even more difficult to understand than that.

Exactly. Not all code can be understandable to layman with zero effort.

That’s a shame, I prefer reading very simple code myself.

People don't voluntarily read code because most code isn't readable.

Code is harder to read than to write, news at 11.

The ability to understand it when it's pointed out is unrelated to the ease of spotting it among a thousand lines of other code when you don't know what you're looking for.

+1

I am totally surprised that "reading code" is not really appreciated even at FAANG companies though very likely that is one of the most important things they will end up doing.


Code is harder to read than write.

Mostly it's not the clever code that is the problem, but the way people tend to use it. Instead of covering that clever piece code in a structure with an easy-to-understand interface and a lot of documentation explaining what things allow this to work properly, it's left without any clues what it is and how it works. Essentially a puzzle in the middle of code base to solve for everyone reading.

Making the code more clear to read helps its quality come through. Or its lack thereof.

It is a good thing if code is readable by people who only know the language a little, only know similar languages, or have not used the language for years.

Years of language-lawyering really refined our own understanding of what is and isn't correct code. Any older code is just so full of UB that they can barely be said to be valid code.

It's just a product of the times.


No matter how well the code is written, without comments, understanding why it was written is going to be difficult to determine.

Ok now I get it. Somehow despite all the detail the Wikipedia article doesn't seem to capture the point of it.

This does lead me to wonder what happens when something gets held up and it's an older code (sir) but it checks out.


It's just a bit antiquated. Rest assured people were writing codes for decades before any consumers had computers
next

Legal | privacy