3 ms·
> I can define the problem in terms of types even before I start writing any executable code This is how code is supposed to be written. Sort out the logic fir
by Xeoncross 4y ago
> I can define the problem in terms of types even before I start writing any executable code
This is how code is supposed to be written. Sort out the logic first, don't write the actual implementation details until later (models, http handlers, file parsers).
The support for this type of SOLID design is much more common in Go than in Typescript projects which often seem to inherit bad practices from Javascript developers.