Live data from Hacker News

Three virtues of a great programmer

thethreevirtues.com

111–120 of 141 posts

Re: Three virtues of a great programmer

#111
post #81

Laziness, Impatience, and Hubris were especially clear/obvious in Perl at the time. Perl was a gazillion times more powerful than Bourne and C-shell (including all the Unix shell tools like `awk`), much more rapid than working in C, incredibly terse (perhaps too much so), and also portable (to all the oddball systems you might have). And the purposes to which Perl was put were often to automate things you'd been doin…

And then, python.

Re: Three virtues of a great programmer

#112

I’ve had a variety of responses to this list over my programming life (~10 years hobby, ~10 years professional). When I first encountered them as a hobbyist, they were surprising, as perhaps intended, due to the framing of classic vices as virtues. On some reflection though, it made sense, and shaped my understanding of programming as somehow _inherently different_ than other types of creation. When I got started wit…

The main annoyance I have with Larry’s take is that efficiency is confused with laziness, which are entirely different things. Laziness, at its extreme, is to delay doing something until absolutely necessary, or even avoid entirely, efficiency is to optimize for the least possible effort, which is sometimes the same as being lazy

Re: Three virtues of a great programmer

#113
post #81

Laziness, Impatience, and Hubris were especially clear/obvious in Perl at the time. Perl was a gazillion times more powerful than Bourne and C-shell (including all the Unix shell tools like `awk`), much more rapid than working in C, incredibly terse (perhaps too much so), and also portable (to all the oddball systems you might have). And the purposes to which Perl was put were often to automate things you'd been doin…

And then, python.

I love Python, but basically 96% of Python code and developers absolutely suck at everything, I'm fixing a shit python codebase right now. It's like a language which people love to use to write shit code.

Re: Three virtues of a great programmer

#114
post #83

That last one ("hubris") I'm going to call out. Maybe the author means another word, for what he describes, but the actual "hubris" I'm seeing among my colleagues is the belief that lots of people out there don't know how to write code, but that their own $%^& doesn't stink. It's the utter subjectiveness of "best practices" that aren't tied to actual issues of performance, security, or flexibility, or worse - blowing…

I interpreted this "hubris" to mean that I believe I can make a difference, rather than feel that I can't contribute. You can understand why I, personally, would think this is a virtue.

Write code "that other people won't want to say bad things about" sounds like using the hubris (arrogance?) to throw up walls to be left alone. Maybe in some organization you might be the star player that can do this to the benefit of the greater good, but in most places collaboration of some sort is paramount, and the hubris thing doesn't sound good. Wouldn't want to hire this archetype.

Re: Three virtues of a great programmer

#115

Earlier quoted context omitted.

And then, python.

I love Python, but basically 96% of Python code and developers absolutely suck at everything, I'm fixing a shit python codebase right now. It's like a language which people love to use to write shit code.

At least people still love it :D

Re: Three virtues of a great programmer

#116

That last one ("hubris") I'm going to call out. Maybe the author means another word, for what he describes, but the actual "hubris" I'm seeing among my colleagues is the belief that lots of people out there don't know how to write code, but that their own $%^& doesn't stink. It's the utter subjectiveness of "best practices" that aren't tied to actual issues of performance, security, or flexibility, or worse - blowing…

My interpretation of hubris in this context is actually "pride" and it's what I've chosen to substitute the word for.

Having pride means that I want to write code that others view as good code and won't look at in the future as a mad hatter's ramblings.

Re: Three virtues of a great programmer

#117
post #81

Laziness, Impatience, and Hubris were especially clear/obvious in Perl at the time. Perl was a gazillion times more powerful than Bourne and C-shell (including all the Unix shell tools like `awk`), much more rapid than working in C, incredibly terse (perhaps too much so), and also portable (to all the oddball systems you might have). And the purposes to which Perl was put were often to automate things you'd been doin…

> Perl […] incredibly terse (perhaps too much so)

I used to like Perl, but I found it hard work at times not to create something that, without ample commenting which arguably removes a lot of the benefit of terseness, even I wouldn't understand without some thought when looking at it a few months down the line.

Perl was (is? - I assume it is still used a fair bit) often referred to as a write-only programming language for this reason.

Re: Three virtues of a great programmer

#118
post #101
post #100

Earlier quoted context omitted.

I especially love it when these people turn code which can be debugged (breakpoints can be set and hit) into one-liners for no reason which you have to rewrite in order to even set breakpoints. Well done, I hope you’re proud.

you can't debug within a line?

Good luck debugging linq one-liners in VS.

Re: Three virtues of a great programmer

#119

Earlier quoted context omitted.

And then, python.

I love Python, but basically 96% of Python code and developers absolutely suck at everything, I'm fixing a shit python codebase right now. It's like a language which people love to use to write shit code.

It's the same as in Visual Basic: those who request programming languages for dummies, they have a tendency not to be the brightest software developers in the toolbox.

Re: Three virtues of a great programmer

#120

Earlier quoted context omitted.

And then, python.

I love Python, but basically 96% of Python code and developers absolutely suck at everything, I'm fixing a shit python codebase right now. It's like a language which people love to use to write shit code.

Because it's so easy the average quality of the user is lower. This isn't surprising to me.
Post reply on HN