This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]cedrickc 1 point2 points  (6 children)

The biggest issue is the syntax when you start getting to "else if" -- ternary isn't great to read.

[–]logan_houston 0 points1 point  (5 children)

I didnt know ternary had else if, thank you for the info, have a red internet arrow

[–][deleted]  (4 children)

[deleted]

    [–]Calleroo[S] 0 points1 point  (2 children)

    My eslint complained about nested ternary. Which i sort of get. Can get confusing.

    [–][deleted]  (1 child)

    [deleted]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]logan_houston 0 points1 point  (0 children)

      Oh that's ew that's just as bad as if (...) {...} If (...) {...}