ternary operations have become quite common in most languages nowadays that when you run into a language that does not support them in a certain way, you feel surprised. That's how I felt a few years ago with Rust, but Rust's compact if/else statement makes a lot more sense and its far more readable than a ternary operator.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
ternary operations have become quite common in most languages nowadays that when you run into a language that does not support them in a certain way, you feel surprised. That's how I felt a few years ago with Rust, but Rust's compact if/else statement makes a lot more sense and its far more readable than a ternary operator.