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

> When you go to write a line of code, how do you decide what to write?

depends ofcourse, what am i writing for ? a feature, a bugfix, refactor ... ?



Let's say a new feature. Do you just type random letters, or do you have some kind of plan ahead of time?


new feature implies design document to gather the thoughts, followed by an intense review etc.


So... a specification.


no ! a _design_ document. how this new thing will fit together with other things that are already existing in the system. what it’s interactions are going to look like, what are the assumptions, what are the limitations etc etc.


So... a specification.


hang on ...




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: