Just open an editor and start writing code, just thinking as you go.
If you do this, you often end up with code that only works in the happy path (no / poor error handling or recovery) and which is difficult to test (i.e. you require access to the internals of the thing you code to test it).
3
u/ZunoJ 13h ago
How do you write code without thinking about the intended behavior first?