Hacker News new | past | comments | ask | show | jobs | submit login

> Debugging code is more difficult than writing it.

It's not. It's possible to not know how to do it well though. As it's something you have to experiment with, learn various approaches, instrumentation.




I'm interested to hear what your rationale for this is.

When you are writing code, you generally know what it is you are trying to achieve. When debugging code, you're frequently trying to find out why a problem is happening in the first place; often in code that someone has written or that you wrote months or even years ago.

I'm not saying that debugging isn't a skill you can learn, but it's a superset of writing code, so it's by definition harder.


I disagree that debugging is a superset, it's a different skill. It's possible not to know how to design and implement an algorithm, but know how to dig into somebody else's implementation and vice versa.

But being harder is not even about the skills themselves, it's about mental effort it takes to do something. And designing and implementing things is certainly much much harder, than digging into something already designed and implemented.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: