by macando · 7y ago · 0 comments
https://www.youtube.com/watch?v=8adsZeMQjGQ
Beyond languages and frameworks. One of my favorite speeches on development which I periodically rewatch. It will make you a better developer in general.
1. The simple option is usually the best
2. Reduce the amount of moving parts
3. Understand the Business
4. Care less, care appropriately
5. Pragmatism trumps perfection
6. Think at product level
7. Do not design systems around edge-cases
8. Do not make decisions based on anecdotal evidence
9. Don't build it until you've been asked for it
10. Expect and accommodate change
For example in OO avoid making a derived class for a French tax calculation for your one French customer’s invoice. I’m assuming here that your product is not an accounting package and the tax issue is just for SaaS billing.
Instead make the design loose enough that this can be accommodated by data. Maybe even manually enter their tax amount in a free text field.
But tying up the code for that edge case (and doing so for every edge case) will lead to a complicated system.