Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is it "more prone to issues"? Have you have significant experience in an indentation-significant language like python? As someone who has written 100k's of lines of code in python, I'm surprised how rarely issues arise in practice.

The thing is, indentation needs to be correct in "brace" languages for them to be understood correctly, anyway. The famous "dangling if" problem for instance:

  if (condition) 
      x = 1
      y = 2
The better objection to indentation significance, in my opinion, is that it makes it very difficult to find an acceptable syntax for anonymous blocks (which is the main reason python doesn't have them, I reckon).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: