The Beauty of Code
theparisreview.org
theparisreview.org
Then again, maybe that part's just in the book this excerpt is trying to sell.
Of course, "beauty" is a hard sell. What you really get with maintaining code with these "beautiful" qualities is massive productivity and choice.
Of course, the prioritization between these three is up in the air.
* up to a point
Also: what does HN recommend for creating such a diagram for my code (say C# and C++ codebases)?
Not that I'm sure it is really an ok measure: I'm a heavy adept of DIY and have a ton of small utility functions which are used all over the place (mainly missing pieces in the STL). This should lead to a whole lot of extra lines in a diagram which might look like spaghetti as well.
Not better or worst, but because of how fast things move this days we must be "eclectic" regarding out tools, and shape-shifters from new frameworks that pop-out every week.
This is specially true in the JS world.
No generalizing please, this is not true everyone, maybe not even for a majority of it's users. I know enough people which after having used it for months still do not really grasp it. Sure, they can sort of get around with the 5 commands they need, but anything slightly beyond that and they are lost.
Git doesn't lose your commits that easily; they're still there, you just need to find them: http://gitready.com/intermediate/2009/02/09/reflog-your-safe...
I think this is perhaps a more honest attitude to the state of programming today than those of us who have managed to master it are willing to permit ourselves. We suffer from the sunk cost fallacy: we are tempted to imagine that the complexity we have mastered is necessary, because if it were not, then we would feel our time spent learning it had been wasted.
I found it a bit rambling without clear premise or pay off. He sounds like someone who talks about programming from the outside while never having been deeply immersed in it himself.
Clarity of writing follows clarity of thought.