![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
5·
8 months agoTest driven development has really helped me understand bugs and functional changes well. Doing a red green change has done wonders for me over the years.
Test driven development has really helped me understand bugs and functional changes well. Doing a red green change has done wonders for me over the years.
I’ve been a software developer for 7 years and I’ve grown to hate terneries entirely. They only hinder readability. Readability is the biggest factor in maintainability. Code that is hard to maintain makes bugs.
I always mark PRs with nested terneries as “needs work”.