Amy Blankenship
Jun 17, 2022

I think the main reason people don't do things the right way from the beginning is that often they have no idea what that would look like. At a guess, I suspect you'll find out that there's a simpler way to do your methods that take many arguments (fluent interface? builder?) and return complex responses. I code with a simple principle: if I have to spend a lot of time explaining it, it needs to be rewritten to be simpler. KISS and YAGNI are actually polar opposites.

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet