Comment

Comment by oriolid

What's the difference between ternary operator and inline if/else? Is there even any reason for if/else that doesn't return a value (that may be void/unit/similar)?

It is also obvious that Java version of the variable syntax is awful and just asking for unintentional modification.

parent oriolid 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton