Computer science problems and solutions, tips on free and open source software (FOSS), programming, artificial intelligence, self-hosting, Meshtastic/LoRA, hardware, science, and tech in general
It's true, but not for every programmer. IMHO it's as fun as coding.
If you don't like it (or are lazy, or don't have time) you should use sw like FastAPI, which at least makes you want to add some docs tightly coupled with the code.
my experience following this model is that wind up with far better insight into what i have to write and how i should go about it.
writing the documentation defines the spec
writing the tests determine if it will work
writing the comments helps layout the implementation (far easier to refactor comments than code)
once that's done, the actual code usually just falls into place.
It really depends on the domain you're working on.
If the app have to go inside a very complicated system of other apps and handle data records that can changed just few days before the end of development you can just update the code and then the other stuff.
Not so much distaste, more apathy!
true
It's true, but not for every programmer. IMHO it's as fun as coding.
If you don't like it (or are lazy, or don't have time) you should use sw like FastAPI, which at least makes you want to add some docs tightly coupled with the code.
write the documentation first
write the tests second
write the comments third
write the code
And when the code is written and it works, all the other stuff is broken.
my experience following this model is that wind up with far better insight into what i have to write and how i should go about it.
writing the documentation defines the spec
writing the tests determine if it will work
writing the comments helps layout the implementation (far easier to refactor comments than code)
once that's done, the actual code usually just falls into place.
It really depends on the domain you're working on.
If the app have to go inside a very complicated system of other apps and handle data records that can changed just few days before the end of development you can just update the code and then the other stuff.
Absolutely not
This is dystopian.