pldb
pldb copied to clipboard
Add column for whether a language supports conditional expressions, like kotlin
@breck7 I have seen the comment, should it be like pseudocode? Trying to think of a way how to implement it.
Hi @rkimera94, Kotlin's example is good: https://kotlinlang.org/docs/control-flow.html#if-expression
val max = if (a > b) a else b
The key thing is to emphasize that some languages have if expressions that work like the ternary operator. I'm curious how common this is.
closing for now