DEV Community

Discussion on: Stop! Put Down That Ternary, Lines Are Free

allthecode profile image
Simon Barker Author

Thanks @pjotre86 , @jayjeckel , @andreidascalu for the awesome analysis of the code in the post. Totally right, I borked the example and didn't fully think it through. I've added an update to the post but I've left the code in place so people can see your corrections. Thanks for pulling me up on this one 😀