Barry SCHWARTZ (Barijo ŜVARC) (chemoelectric) wrote,
Barry SCHWARTZ (Barijo ŜVARC)
chemoelectric

The problem with Python

Indentation as the significant indicator of program structure is an idea so bad that it is stunning anyone would endorse it. One slip-up in your text editor and the whole program becomes a jumble. OTOH a few keystrokes in a language with sensible grammar and your text editor (such as Emacs) can indent your program for you.

Perhaps it is time for someone to write a ratfor/camlp4 for Python to impose on it a sensible alternate grammar. (Not that I like the revised OCaml grammar; I don’t, partly because there is much weaker Emacs support for it than for the standard grammar.)

(BTW guess what problem I am having right now with some Python code, or actually it is Cython code.)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments