4 ms·
Not sure if I'm the only one, but I start writing code like this quite often. At first it's "comment only" to describe what I'm trying to achieve and then I'm
by martin_a 5y ago
Not sure if I'm the only one, but I start writing code like this quite often.
At first it's "comment only" to describe what I'm trying to achieve and then I'm adding functional code in/around it. I find that really helpful, although some might say there's some "comment bloat" in the end, as I often keep the comments, too.
- Zababa 5y agoI usually do something like that when working with someone, though I write "real" code but using variables and functions that we don't yet have, so that we can agree on the structure of the code.
- josefrichter 5y agoThat’s called BDD, isn’t it? :-)
- martin_a 5y agoI don't know to be honest. As a part-time programmer I just find it helpful to tackle the task like this. :-)