Perhaps another reason why some coders dislike the ternary operator, this little one liner that is asked of you to review hides a bug. Can you spot it?
Language Gotchas
Illustrated by Skye Bolluyt
Polymorphism and the Ternary Operator: Trickier Than You Think

To continue reading
Receive
- Access to original high quality content
- Priority support and feedback
- A thank you for supporting our small independant publication
Already purchased issue? Login