Viliam_Bur comments on Open Thread, July 1-15, 2012 - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (150)
A language where whitespace is syntactically significant, used in HTML tags?
How do I know whether action2 is also part of the if block or not; and how do I write the other version?
Yes, but beginners want it, because it has the smallest overhead for trivial projects. Later, when they learn more, they can separate the logic and templates. Here is a code that leads to antipatterns, but is nice to have -- if you fix it, it will look much more difficult.
I've never used psp, but the documentation page seems to indicate what happens with indentation. It looks like it would be parsed as:
I have no idea how to get either "proper" behaviour, and I'm not in a position to experiment, but I'm sure it's possible (that would be a fairly large omission).
Yes, I agree that it is good for beginners; I was merely mentioning that point.