On Nov 27, 7:05 pm, Nathan Weizenbaum <[email protected]> wrote: > The problem with making these distinctions between leaf nodes and branch > nodes is that, to a user who doesn't understand all the internal workings of > Haml/Showell, the distinction between when one needs to explicitly specify > text or tag or what-have-you become completely incomprehensible. People > already have trouble understanding the rules for indentation; making the > syntax for an individual line differ depending on the indentation of that > line and other lines around it is going to result in far too much confusion. >
I truly, truly understand your argument here, but I want to go on the record that the percent sign in front of tags is mostly cruft, and I will theorize that users will always misunderstand needless punctuation to the same degree that they misunderstand indentation. IMHO HAML should strive for clean syntax above all other considerations and only compromise when extra syntax truly resolves ambiguity. The percent tags in front of tags are an unnecesary burden on the programmer or designer AFAICT and probably push people away from HAML. It seems like your goal should be to have completely clean syntax and use sophisticated error messaging to protect users from mistakes, not crufty syntax. The percent sign is crufty. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
