• unalivejoy
    link
    fedilink
    English
    3
    edit-2
    2 months ago

    You say that, then use a language that allows you to do this (it’s not lisp)

    if (foo);
    {
      bar();
    }
    • rhabarba
      link
      fedilink
      4
      edit-2
      2 months ago

      You can make embarrassing mistakes in virtually any programming language that’s not too esoteric.

      When I still used Python for prototyping (today, I usually use Go for that), it happened much too often that I did this:

      if foo:
          bar()
         foobar() # syntax error
      

      In Lisp, however, both errors are much harder to make (not even considering GNU Emacs’s superb auto-indentation - which is what most Lispers use these days, as far as I know):

      (when foo)  ;; <- obvious!
          (bar))
      
      (when foo
          (bar)
                (foobar)  ;; <- still valid
      (quux))  ;; <- also still valid