DEV Community

Discussion on: What do you think about the ternary operator?

Collapse
 
kip13 profile image
kip • Edited

This is valid in all languages where if else are an expression instead of statement: Python, Rust, Scala, Kotlin, Haskell,F#....