• @jvisick
    link
    410 months ago

    Personally, I think that if you’d rather write foo?a:b than foo ? a : b, you’re probably insane

    • @shagie
      link
      2
      edit-2
      9 months ago

      deleted by creator

      • @jvisick
        link
        310 months ago

        I agree! I don’t think 3?”stuff”:”empty should work at all because I think it’s an insane way to type a ternary :) I’m also very open to admitting that it’s just my own strongly worded opinion.

        I think that in most cases, syntactically significant whitespace is a horrible idea - the one exception being that you should have space between operators/identifiers/etc. I don’t care how much, and 4 spaces should have no more special meaning than 1, but I do think that using a space to indicate “this thing is a different thing than the thing before it” is important.

        • @shagie
          link
          2
          edit-2
          9 months ago

          deleted by creator