DEV Community

Discussion on: Meme Monday

Collapse
 
tullis12 profile image
Tullis •

meme monday

Collapse
 
syxaxis profile image
George Johnson •

Not so much distaste, more apathy!

Collapse
 
ben profile image
Ben Halpern •

true

Collapse
 
solvecomputerscience profile image
Solve Computer Science •

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.

Collapse
 
gbhorwood profile image
grant horwood •

write the documentation first
write the tests second
write the comments third
write the code

Collapse
 
alexmario74 profile image
Mario Santini •

And when the code is written and it works, all the other stuff is broken.

Thread Thread
 
gbhorwood profile image
grant horwood •

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.

Thread Thread
 
alexmario74 profile image
Mario Santini •

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.

Collapse
 
rsteadman profile image
R Steadman •

Absolutely not

Collapse
 
maxart2501 profile image
Massimo Artizzu •

This is dystopian.