4 ms·
I think a lot of XYZ Driven Development advice can basically be boiled down to: write down some kind of plan before you start coding. Certainly one should thin
by liampulles 2y ago
I think a lot of XYZ Driven Development advice can basically be boiled down to: write down some kind of plan before you start coding.
Certainly one should think about the design before implementing, but I think writing acts to force active reflection on the design - be it a plan, or documentation, or a test.
At this point my approach is to plan out my current ticket into TODOs before I make a branch. I do this in phases until I get down to the level of what functions need to be modified/made. If I know there is a function that is going to be doing a bunch of branching or is otherwise complex, then I know it will need a good bit of unit testing, and I might opt for TDD - though its rare. I'm used enough to planning my tickets now that it is usually sufficient to get to a good design.
I would recommend trying to do some sort of planning of your work. It can be hard and time consuming it first but it can be a superpower if you get into the habit of it.
- swah 2y agoPlanning upfront like this inevitably leads to better design and less rework. I'll see that steps conflict and rewrite the plan before rewriting the code. from https://liampulles.com/jira-tickets.html https://liampulles.com/jira-tickets.html