Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The whole point of it would be to have a higher level of abstraction which makes codebases more concise. Avoiding duplication for the sake of avoiding it is as nonsensical as avoiding 100 dollar bills since we already have 100 single dollar bills that could make it up.


> The whole point of it would be to have a higher level of abstraction

What are you talking about? A ternary isn't a higher level of abstraction, it's at best the exact same thing with a different syntax, at worst it's a more limited version of the same.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: