3 ms·
When you go to write a line of code, how do you decide what to write?
by amw-zero 10mo ago
When you go to write a line of code, how do you decide what to write?
- signa11 10mo ago> 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 ... ?
- amw-zero 10mo agoLet's say a new feature. Do you just type random letters, or do you have some kind of plan ahead of time?
- signa11 10mo agonew feature implies design document to gather the thoughts, followed by an intense review etc.
- adverbly 10mo agoHonestly? I usually look at the previous implementation and try to make some changes to fix an issue that I discovered during testing. Rarely an actual bug - usually we just changed our mind about what the intent should be.