Live data from Hacker News

How to Succeed as a Poor Programmer

psgraphics.blogspot.com

181–190 of 196 posts

Re: How to Succeed as a Poor Programmer

#181

I’ve been in a rut lately. Missing obvious things, shipping less than my best code. It’s come to my attention that I’m not as good at programming as I am at crafting database queries and tuning them but that’s such a small niche given how easy it is to pick up SQL that I’m having an existential crisis. So I’m working on getting better and getting more confident.

I will say the support to my thread has received has been super nice and helpful.

Re: How to Succeed as a Poor Programmer

#182

I wonder if the author has considered the idea that it's not a lack of effort or some inherent cognitive gap that keeps them from being "good" programmers, but perhaps these beliefs instead?

I think it’s time. Peter Shirley decided to specialize in computer graphics, leaving the programming to people who would implement his ideas in libraries, and the production developers who use those libraries.

Re: How to Succeed as a Poor Programmer

#183
post #125

Earlier quoted context omitted.

That may be. However, the number of times I see people hit a bug because they fenceposted or flat out overflowed a fixed size array VASTLY outnumbers the times I have seen people have to redo their underlying data structure because it just wasn't fast enough.

We're just in different fields. The OP of the post was a graphics engineer, as am I. We drink to celebrate when we shave off a millisecond haha.

I've shaved 10 microseconds in large refactors and been told that's great ship it. Other fields might say that wasn't nearly enough to justify the code churn (performance vs. "programmer productivity" argument). A millisecond is a lifetime and can mean the difference between shipping and not shipping in some products.

Re: How to Succeed as a Poor Programmer

#184

I wonder if the author has considered the idea that it's not a lack of effort or some inherent cognitive gap that keeps them from being "good" programmers, but perhaps these beliefs instead?

I think it’s time. Peter Shirley decided to specialize in computer graphics, leaving the programming to people who would implement his ideas in libraries, and the production developers who use those libraries.

I didn’t realize this was Pete Shirley’s blog. Isn’t he still a professor?

Re: How to Succeed as a Poor Programmer

#185

I wonder if the author has considered the idea that it's not a lack of effort or some inherent cognitive gap that keeps them from being "good" programmers, but perhaps these beliefs instead?

I think it’s time. Peter Shirley decided to specialize in computer graphics, leaving the programming to people who would implement his ideas in libraries, and the production developers who use those libraries.

Interesting, but does that change anything though?

I had a famous cryptographer professor. He refused to learn anything past Pascal. He freely admitted he was no longer a programmer and that he shouldn't be doing it.

That seems like a different message from the messages presented here.

Re: How to Succeed as a Poor Programmer

#186

Earlier quoted context omitted.

We're just in different fields. The OP of the post was a graphics engineer, as am I. We drink to celebrate when we shave off a millisecond haha.

I've shaved 10 microseconds in large refactors and been told that's great ship it. Other fields might say that wasn't nearly enough to justify the code churn (performance vs. "programmer productivity" argument). A millisecond is a lifetime and can mean the difference between shipping and not shipping in some products.

Odd that we feel differently about hash tables then.

Re: How to Succeed as a Poor Programmer

#187

The "Avoid Learning Anything New" advice is insane. (Well, practically all of it is, but that one really stands out). I think the exact opposite advice is far better: never assume the way you know how to do something is best, and always be on the lookout for what others are doing that might be better. Here's the thing about learning: the more you learn, the easier learning the next thing becomes. You form links, insi…

I don't know. I don't think he's really making such an absolutist statement, these are heuristics, I think they're meant to be guardrails.

ALAN is probably a very good heuristic for precisely the type of person who reads HN. I would be most of us err too far in the direction of learning new stuff, while letting the projects we've started stagnate.

Re: How to Succeed as a Poor Programmer

#188
This case is making the case for a specialist, it's just worded poorly. There's a case to be made for such folks, there's a case to be made for generalists... and if you're super smart with tons of memory you can be a T shaped person. It doesn't matter which path you choose, you can thrive in any of them.

Re: How to Succeed as a Poor Programmer

#189
post #149

The "Avoid Learning Anything New" advice is insane. (Well, practically all of it is, but that one really stands out). I think the exact opposite advice is far better: never assume the way you know how to do something is best, and always be on the lookout for what others are doing that might be better. Here's the thing about learning: the more you learn, the easier learning the next thing becomes. You form links, insi…

He's a C++ programmer, so I assume he can also code in C. So do I. When you go so low-level, then everything else just translates to "overhead" and it's always a trade-off (for example exchanging performance with "fast coding" or "easy of use"). At that point, you know there is nothing better, if better is understood in terms as "performance" (I develop firmware), so there is little room for improvement. Maybe rust?…

I mean I’m a C++ programmer too, but I learn other tech so i dont end up myopic in how to best solve a problem. You shouldn’t learn node.js because its “new” (also: its definitely not new anymore), you should learn node because c++ is bad at most of the things node is good at (and vice versa). (and before you think im picking on systems programmers, I also have a dim view of web developers that refuse to learn any non-web tools)

Re: How to Succeed as a Poor Programmer

#190

Earlier quoted context omitted.

In the article he says he learned C++ in 1995, so he probably knows C.

He says he learned C++ in 1990, and never says anything about C, so it's still likely that he only has a distant memory of something like C. I have a distant memory of something like Ada, but I might struggle for a while if asked to program in Ada professionally.

I bet 1990 C++ was for most people C with classes.
Post reply on HN