DEV Community

Discussion on: Why I'm phasing out ternary statements

joeattardi profile image
Joe Attardi

I mentioned "premature" optimization. If this was called a huge number of times, and it did impact performance, then it would be time to optimize. But I would be willing to bet that for most use cases, it doesn't really matter.