[haml] Re: Sass Variable Character

2010-03-06 Thread Eric Meyer
I'm in favor of simplification (only one option) as well as the switch. A bit more work, but nothing we can't handle. Cheers, -e On Mar 6, 6:28 pm, Nathan Weizenbaum wrote: > Hi folks, > > I wanted to take an informal poll on a Sass 3 design issue. We're planning > on adding a new prefix charac

[haml] Re: Sass Variable Character

2010-03-06 Thread Tobias Adam
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

[haml] Re: Sass Variable Character

2010-03-07 Thread hunkybill
I am all for this. $ is common in not only PHP stew but also Javascript. ! is NOT!! Thanks On Mar 7, 12:43 am, Chris Eppstein wrote: > Let's assume for a second that it didn't create parsing ambiguities. > > Would you really prefer: > > div >   border: width solid blue > > over: > > div >   bo

[haml] Re: Sass Variable Character

2010-03-07 Thread Max
In favor of $. Not too many languages have a mandatory variable prefix (I'm thinking Javascript, Java/Scala, Ruby, C/++, C#, etc) but the one that does (PHP) uses a $. Might as well use $ for consistency :) On Mar 7, 12:42 am, hunkybill wrote: > I am all for this. $ is common in not only PHP st

[haml] Re: Sass Variable Character

2010-03-07 Thread bryanl
Chris, you are correct. There has to be some sort of character to designate variables. I think the $ works well because people are familiar with the $. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegro

[haml] Re: Sass Variable Character

2010-03-07 Thread Aaron Russell
I'm all for this too. $ makes much more sense than !. Although to be honest I'm much more excited about the prospect of removing the need for =. I've been using the SCSS syntax a bit (which is great by the way - a massive step in the right direction), but I do get irked by having to format styles

[haml] Re: Sass Variable Character

2010-03-08 Thread rvr
a big +1 for this. "!" is too easily confused with the logical not, as has been stated. "$" is much clearer. good call. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegroups.com. To unsubscribe from this

Re: [haml] Re: Sass Variable Character

2010-03-06 Thread Norman Clarke
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" wrote:

Re: [haml] Re: Sass Variable Character

2010-03-06 Thread Michael Narciso
I'd prefer no prefix but would be content with $. Norman Clarke wrote: 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

Re: [haml] Re: Sass Variable Character

2010-03-06 Thread Chris Eppstein
Let's assume for a second that it didn't create parsing ambiguities. Would you really prefer: div border: width solid blue over: div border: $width solid blue I think the latter is much more clear from a reader's perspective. And without the prefix we could also do horrible things like th

Re: [haml] Re: Sass Variable Character

2010-03-07 Thread Chris Eppstein
Here's the blueprint grid, re-written using scss and taking advantage of all the language features that are planned in sass3: https://gist.github.com/13b0e09fc6f29c9dffd3 You can compare this to the current version: http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesh

Re: [haml] Re: Sass Variable Character

2010-03-07 Thread Alex Wallace
I would also prefer $ over ! if for no other reason than !important could potentially be confused. I'd consider the ! somewhat reserved in css, whereas $ is accepted for variables. Sent from my iPhone On Mar 7, 2010, at 3:45 PM, Chris Eppstein wrote: Here's the blueprint grid, re-written u

Re: [haml] Re: Sass Variable Character

2010-03-09 Thread Jonathan Linowes
personally, anything that conjures up the ghosts of PHP is worth avoiding. But, whatever. Its better than "!" On Mar 8, 2010, at 1:19 PM, rvr wrote: > a big +1 for this. "!" is too easily confused with the logical not, as > has been stated. "$" is much clearer. good call. > > -- > You receive

Re: [haml] Re: Sass Variable Character

2010-03-11 Thread Matt Martini
On Mar 9, 2010, at 3:44 PM, Jonathan Linowes wrote: > personally, anything that conjures up the ghosts of PHP is worth avoiding. > But, whatever. Its better than "!" While this thread has probably outlived it's usefulness, the consensus seems to be that everyone wants to see the change from '!

Re: [haml] Re: Sass Variable Character

2010-03-11 Thread Chris Eppstein
I was a Perl Hacker back in college and my first programming language was BASIC where every string variable ended in $. I've never coded php -- but I use php as an example because it's the most pervasive web programming language. chris On Thu, Mar 11, 2010 at 8:51 AM, Matt Martini wrote: > > On