On Mar 5, 2:34 pm, ratbeard <[EMAIL PROTECTED]> wrote:
> This
> kind of nested implicit tag might take a little longer for your brain
> to process while reading the code, but who knows, maybe it will become
> second nature and you'll start to think about the document structure
> more instead of relying on explicit tags.

I think it would largely depend context information. In your example
with "a" and "b" as the class name it does need the explicit tags
because there is no relevant context for the brain other than what the
missing %li would have provided. But if the markup has other context
info (as most do):

%ul#videos
  - for video in @videos
    .video= output video

In this case I like the fact that the %li is gone. It just adds noise
and the fact that I now have so much context info (videos, video,
etc.) my brain can scan this without thinking twice. Combined with the
fact that the only people who would be negatively impacted by this
feature is people who already have invalid markup my vote is enabled
by default but then have some option for turning it off so people with
existing (invalid) markup are not forced to fix their files until they
are ready.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to