On Wednesday 01 February 2006 22:37, email@example.com wrote:
What would be even better would be to allow optional labels after end
statements, such as “end class”, “end def”, so the parser can catch
I’ve implemented this as well in a separate project.
Holy mother of god in the heavens, for the love of all that’s good and
please NO! I’ve had more than enough XML and VHDL already,
Next thing you see we’re coding in palindromes to doublecheck we know
order we wrote the characters in…
I want to see a single half-serious programmer that actually makes
because he can’t remember what scope he’s in. That’s what the
conventions are there anyway. If you keep your code well-structured,
impossible to have that cause a show-stopping bug that can survive five
minutes in the codebase.
That said, I prefer indentation as a convention, not as syntax. I made
sporadic forays into Python; but I like how Ruby tries to resemble
language with the likes of statement modifiers, and do/begin and end for
blocks. It feels more natural to me to type “end” to end a code block,
usually associate the backspace key probably the most commonly used in
editors to unindent code manually with correcting typos - ergo not a
component in the flow of typing.
Pretty much my $.02
If I had two cents for everytime I say “Just my two cents”…