17 points · by sant0sk1 · 18y ago · 7 comments
In my experience, lazy programmers write tools to automate stuff. It's the guy that wrote YACC that automates parser generation. It's the person that reads the yacc file and uses it to generate c/h files for each symbol, filled out with all of the initialisers specified in the yacc file. It's the person that generates test scripts from an xml file, etc etc etc.
Actually, the longer I work as a programmer, the more I'm bemused by people that talk about how they never do any interesting programming at work. If you are only doing boring stuff, then you are not doing it right. Build a system to automate that boring stuff, that'll get your creative juices flowing!
In my case, I work for a company that does embedded software . As we often work on devices for which there is only a C compiler, we have to use C as the language of implementation for our product. But personally I haven't written any C code for over 18 months - I'm using ruby to put together a whole series of tools that generate c code from, for example, UML diagrams. There's still a bit of tweaking to be done to the C code at the end, but it is just tweaking, which improves productivity for the whole team. Leaves us time to go and get an espresso from the cafe down the street instead of slaving away on boring projects.
It's not perfect, but it takes a lot of the drudge out of the working day, which was kind of the point I was trying to make in the original post.
- A lazy programmer may not be that meticulous
- A curious programmer may not be that meticulous
On your second point, I guess I would say that "curious" might be an odd word. Some people who are intellectually curious dive into things very thoroughly, so they are likely to be meticulous but also likely to quickly find something else to obsess over.
So, instead of looking at possible cofactors, why not just look at actual results?
Did it get done?
Is it fairly accurate?
Is it high quality? (I know, lots of room for judgment here.)
Did it take reasonable resources (time, money, help)?
I'd settle for these over possibly unrelated character traits.