3 ms·
In my experience it's quite difficult to keep things simple. It's a constant battle and sometimes we fail. If you are using typescript you can either go down t
by patrickthebold 3y ago
In my experience it's quite difficult to keep things simple. It's a constant battle and sometimes we fail.
If you are using typescript you can either go down the path of using `as` and `any`, which at that point the benefits start declining. Or you can work really hard with typescript and make something complicated that correctly matches your code's logic.
But saying, "write simple code" doesn't really help much without saying how to do it.