Ask HN: Have you ever had strong emotional reactions to pieces of code?
I've read a lot about code smells. I'm wondering what other emotional reactions have folks had to code they were maintaining/upgrading?
I've read a lot about code smells. I'm wondering what other emotional reactions have folks had to code they were maintaining/upgrading?
I've seen much worse code than what I was dealing with. But this particular stuff had all these calls Xlib to "aid" in the rendering of Qt windows. How could I reproduce that? (fortunately Qt by itself now does everything this code did)
Emotional reactions? At first, joy to find the library. Then came disappointment, when I looked at the source. Soon followed by frustration, when I realized I had to go in. Anger as it proved harder to figure out the nonsense, quickly followed by fear and doubt when I wondered if I was going to make it. Hope, when I had a breakthrough yesterday evening and finally, joy again since I completed my changes about an hour ago.
He was a genius perl programmer, but unfortunately carried many of his perl programming practices into PHP.
That and the fact that he used spaces and line breaks like they were made of gold.
Great guy, amazing programmer, but I would rather rewrite code from scratch than dig through the mines of his programs.
#define BEGIN {
#define END }
#define IF if(
#define THEN ){
...
Style was a little different in 1979!