News for hackers. Stuff that matters.
Re:Sylph: the programming language I want by vertex-four on Sunday March 01, 2015 @08:50AM (#9127019)
> you have to cycle through all sensible indentations

What? My editor indents stuff for me as per PEP8. I don't have to think about it. Why do you?

Re:Sylph: the programming language I want by okasaki on Sunday March 01, 2015 @08:59AM (#9127038)

  def fun():
      for x in xs:
          if a:
              b
            c
There's no way for an editor to know where to re-indent c to. You have to cycle through the indents manually.
Re:Sylph: the programming language I want by nothrabannosir on Sunday March 01, 2015 @09:50AM (#9127184)
Perhaps I misunderstand, but vim, not a particularly uncommon editor, treats backspace at the start of a line by removing one indent level.

So, you're at `b`, you hit enter: next line, same indent level. Now you hit backspace: indent level matches `if`. Again: indent level matches `for`. Type c, there it is.

If you had curly braces, you'd use } instead of backspace. Literally the same number of keystrokes, no?

Or were you talking about something else and did I misunderstand?

Re:Sylph: the programming language I want by vertex-four on Sunday March 01, 2015 @09:38AM (#9127150)
How did you end up with c there, honestly? It's not a thing that's ever happened to me.
Re:Sylph: the programming language I want by seanmcdirmid on Sunday March 01, 2015 @09:03AM (#9127049)
Auto indent, tab, and shift tab are your friends. Really, it isn't that bad, considering the curly brace alternative is even worse from an effort perspective.
Re:Sylph: the programming language I want by okasaki on Sunday March 01, 2015 @09:16AM (#9127078)
To each their own. I came to C++ from Haskell and found braces to be superior (except visually).