?

Log in

No account? Create an account

November 19th, 2009

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.)

Latest Month

June 2016
S M T W T F S
   1234
567891011
12131415161718
19202122232425
2627282930  

Comments

  • 25 Mar 2014, 01:22
    In case it matters, the most recent confirmed lahar is about 500 years ago, but there were mixed reports of eruptions in the late 1800s.
  • 25 Mar 2014, 01:20
    Pretty low until you jinxed them.
  • 25 Mar 2014, 01:01
    What would you estimate the odds to be of it happening in the next 200 years?
  • 27 Jan 2014, 06:22
    Thinking about it further, I think I now understand. You're saying the WSJ is being antisemitic, not the people they're quoting.

    I don't think they'd listen to it coming from us, but a…
  • 27 Jan 2014, 06:09
    I'm not noticing it either. Seems to me they *are* being assholes to Jews, but only moreso than anybody else if we happen to be in the way. I think that's gneral-purpose assholery, not…
Powered by LiveJournal.com
Designed by yoksel