If you can't trace a piece of code back to making an acceptance test pass, remove it.
If you can't trace a piece of code back to making an acceptance test pass, remove it.
We can see this as a socially acceptable way of saying "to express love", especially in a job context.
What would happen if we embraced this idea? Why don't you embrace this idea now? What obstacles stand in your path?
We can see this as a socially acceptable way of saying "to express love", especially in a job context.
What would happen if we embraced this idea? Why don't you embrace this idea now? What obstacles stand in your path?
They make code harder to read/think about (cognitive overload) 😵💫
Did you know "Guard Clauses" can help you simplify these? The key is to return early on exceptions, unnest the happy path 💂
Here's an example in JavaScript 👇
They make code harder to read/think about (cognitive overload) 😵💫
Did you know "Guard Clauses" can help you simplify these? The key is to return early on exceptions, unnest the happy path 💂
Here's an example in JavaScript 👇