1. 5

About significant whitespace in programming languages.

  1.  

  2. 5

    I find it simplest to ask, which is more likely to be lost or corrupted accidentally, white space or not white space? I copy and paste some code from your blog. Am I more likely to lose indentation or curly braces?

    1. 2

      And yet which are you more likely to understand from a novice or person with stupid tools, the well indented stuff or the well bracketed stuff without any leftward whitespace?

      1. 5

        The code that runs without me painstakingly recreating the correct indentation.

        1. 1

          The problem with things that are easy for novices is the “expertise reversal effect”, where it hurts non-novices (those approaching or having expertise) possibly more than it helps the novices. It’s a difficult balance, for sure.

          1. 2

            Especially in this field with its current growth, providing many more novices than experts