Ask HN: Do you have to be able to write great code to recognize good code
I see on Twitter various comments about the print your code out thing, and some are saying Elon can't code, so what would the point be for him to look at it etc etc.
Internet evidence seems to suggest Elon can write some code, maybe not great code, but not nothing.
My question is, is it possible to recognize good or even great code, if you can't write great code yourself?
Edit : I can't even spell, I got Elon's name wrong second time, I'll blame the phone keyboard...
6 comments
[ 3.2 ms ] story [ 24.0 ms ] threadIs it fast and memory-efficient? You can recognize such code even if you can not read code. Is it valuable code like Bitcoin? Same
This is a common complaint against someone's judgement, but yes, I am pretty convinced you can evaluate qualities even though you might not posess them yourself.
Sure, experience helps increase the quality and finesse of your judgement (eg. non-coder can't evaluate some things even if they can notice if the software is fast and non-buggy and pretty and...).
Sometimes good code design has some beauty to it. You feel it even if can’t explain.
But more often you see the evolution of a codebase, you watch the devX etc. to realize this is a truly high quality design.
Is this a good use of DI, annotations. etc, you need enough direct experience for an informed opinion.
Lastly, a steaming pile is easier to identify than brilliant code, which might look odd at first.