3 ms·
Unless mandated, don't design for unknown future use cases. Keep the code as simple and dumb as possible. Cater only to those use cases that are known. Strong-t
by fsloth 6y ago
Unless mandated, don't design for unknown future use cases. Keep the code as simple and dumb as possible. Cater only to those use cases that are known. Strong-type everything. Lot's of unit tests.
If new requirements come in it's anyway lots of typing. You might as well spend the effort only when the full situation is known.