Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You have a good point overall. However, can you truly reduce the definition of reliable code to something that simple? I think there are a lot more factors that determine if code is reliable or not.


I actually think that this is good definition of reliable code -- product of an individual developer's process.

It does not say whether it was specified well, but I think an application can reliably execute wrong process. There is no contradiction.

I don't want to say that making sure that your code does exactly what you intend it to do is at all simple.

As your application grows, as you start incorporating dependencies, external systems, code that came from others, things that you do not know very well -- writing code that does exactly what you intend it to becomes very difficult or even impossible.

But on the lowest level, when we are talking couple of variables, conditionals, loops, maybe small data structure -- I would expect a developer to be able to write it to do what is exactly intended.

Because if you have that ability and use it for every piece of code that you write, the overall result (even if it does not guarantee reliability) will be better than a person that cannot do it.

In my experience (and it depends a lot on our HR and candidates that are being sent my way) only one in about 10 candidates (for senior Java dev position) can do that.




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

Search: