I strongly agree that $ will be better than !. As far as deprecations go,
perhaps you could go with first a warning for one release cycle, and then
leave it as a non-default configuration option for another release cycle
before eliminating it entirely.

On Mar 6, 2010 9:13 PM, "Tobias Adam" <[email protected]> wrote:

I always thought that the "!" prefix tends to be a bit ambiguous
because of its common notion of a logical NOT.
I mean that reading

 =column-base(!last = false)
   +float-left
   @if !last
     +last

reads to a Java/Ruby/JavaScript/C/… programmer as "IF NOT LAST" which
is exactly the opposite of its intended meaning.

On the contraty, I think using a "$" prefix positively reminds
programmers of other languages’ syntax, even if it’s PHP ;-)
So I would prefer the method of deprecating the "!" notation and
moving towards the "$" syntax.

Greetings,
Tobi


On Mar 7, 12:43 am, Nathan Weizenbaum <[email protected]> wrote:
> We were originally planning to go...
> On Sat, Mar 6, 2010 at 3:38 PM, Gabriel Sobrinho <
[email protected]

>
>
>
> > wrote:
> > I think variables should not contain a prefix (like in plain ruby). $
looks
> >...
> >> [email protected] <haml%[email protected]><
haml%[email protected] <haml%[email protected]>
>.

> >> For more options, visit this group at
> >>http://groups.google.com/group/haml?hl=en.
>
> > --
>...
> > [email protected] <haml%[email protected]><
haml%[email protected] <haml%[email protected]>
>.

> > For more options, visit this group at
> >http://groups.google.com/group/haml?hl=en.

-- 
You rec...

-- 
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