3 ms·
If you come from a functional background (or otherwise just prefer expression-based languages), the if statement-based version is just horrible. Several languag
by pdpi 9y ago
If you come from a functional background (or otherwise just prefer expression-based languages), the if statement-based version is just horrible. Several languages work around this by not having ?: but instead having `if` be an expression.