I don't want to use ternaries - eviltoast
  • RobotToaster@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    For a long time I hated ternaries, partially due to my experience with them in PHP (Who thought left-associative ternaries was a good idea? seriously?).

    OpenSCAD made me love them again. It’s purely functional so you’re encouraged to use nested ternaries.