Skip to content

Comment on Too scared to write a line of code

Comments

I just consider what code would be correct. Does it do the right thing? Is it concise and clear? Is it stable, given all expected inputs?

I worry about optimization and all of the other details later.

"Concise and clear" is an optimization itself.

No. Concise means dry, which requires a lot of refactoring on the fresh meat, and it is not optional. Clear means readable, which is necessary too, lest your hope for your code is to never be read again. I mean used.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.