ParentFull threadralph·A ternary op, Python's is nice, would be welcome. ;-) map[bool]int{false: 3, true: 14}[foo != 0]View on HN