4 ms·
I get the gist, yes there is some code that is really really ugly and almost incomprehensible at times (I'm looking at you Perl jk) but on the more granular lev
by moocow01 15y ago
I get the gist, yes there is some code that is really really ugly and almost incomprehensible at times (I'm looking at you Perl jk) but on the more granular level of "not ugly" code I feel like beauty is somewhat in the eye of the beholder.
One thing I get very tired of is people pushing their stylistic choices as the beacon of good code. I think its hard for us to at times be accepting of code that is not in our style because it can require a bit of an adjustment to comprehend it. I've seen so many tiffs over seemingly meaningless things like placement of curly brackets its absurd.
The example code in the article does have some stylistic things you could nitpick on and could be pointed out in a code review but if that sets off your alarm bells I would highly advise that you don't work at a place that does heavy outsourcing if you want to maintain your sanity.