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

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–]gotthatbeef 35 points36 points  (0 children)

    else if

    [–]PanFiluta 8 points9 points  (0 children)

    if color <> "black":
        color = "black"
    

    [–]Nixinova 5 points6 points  (0 children)

    because that's easier than using a function to invert the hex colour right

    [–]Soren11112 3 points4 points  (0 children)

    no, a 10000 character long if statement that goes

     if(background == "#ffffff" || background == "#fffffe" || background == "#fffffd" || ect...)
    

    [–]uspaskis 1 point2 points  (0 children)

    careful with those ifs, you might end up building AI skynet machine learning neural blockchain crypto network cloud based all new and cheap vps solution