Re: [css-d] CSS3 animations considered harmful
> > >> -Original Message- >> From: css-d-boun...@lists.css-discuss.org [mailto:css-d- >> boun...@lists.css-discuss.org] On Behalf Of david >> Sent: Wednesday, August 11, 2010 3:12 PM >> To: css-d >> Subject: Re: [css-d] CSS3 animations considered harmful >> >> tedd wrote: >> > At 9:19 PM -0400 8/10/10, David Laakso wrote: >> >> Gabriele Romanato wrote: >> >>> Hi! >> >>> need some responses and criticisms about my opinions expressed >> >>> right >> >>> here: >> >>> >> >>> >> >>> http://onwebdev.blogspot.com/2010/08/css3-animations- >> considered-harm >> >>> ful.html >> >>> >> >>> HTH ^^/ >> >>> >> >> > Gabriele Romanato >> >> >> >> >> >> CSS is a programming language: albeit, a very simple one. It copes >> >> with "look and feel." Expanding CSS to include more than that is >> >> scary. But therein may, or may not, lie the future. /Push the >> >> envelope./ >> >> >> >> Best, >> >> ~d >> > >> > I agree and was very close to responding as such. However, I didn't >> > think my contribution would amount to anything in that forum. >> > >> > In any event, people who say that CSS is not a programming language >> > must have a better understanding of programming than me -- after >> all, >> > I only wrote my first line of code 45 years ago and still haven't >> > mastered it. >> >> CSS isn't a programming language. No control constructs like >> IF/THEN/ELSEIF, SWITCH, etc. No variables. The only programming >> language presence really are the MS extensions (Javascript functions). >> > > I wish there were variables. Even variables of the macro kind for > defining a color palette would be really great. MAIN_COLOR = #123456; > > border-color: MAIN_COLOR; > color: MAIN_COLOR; > Want to change your main color from green to blue? Change one line! How > awesome would that be? But anyway... > > I think the lack of control structures is a little erroneous... the > entire language is a giant switch statement. If there's an element that > matches such and such, apply these properties... > > Switch (element) { > Case 'p': margin: 1em; > } > > We just leave the switch() case: out for brevity. :P > > Also, isn't it instructions for a computer? Isn't that the definition of > a programming language? I can understand HTML not being a language, as it > doesn't, by itself, cause anything to happen to the text (default styling > is CSS, after all). But CSS actually does stuff. > > ---Tim > I push all my code, css, js, php through M4. this enables me to do exactly what you are asking for, and also have shared symbolic constants for return codes and such for json structures. It really helps. Peter __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
On 08/11/2010 04:39 PM, Climis, Tim wrote: > > >> -Original Message- >> From: css-d-boun...@lists.css-discuss.org [mailto:css-d- >> boun...@lists.css-discuss.org] On Behalf Of david >> Sent: Wednesday, August 11, 2010 3:12 PM >> To: css-d >> Subject: Re: [css-d] CSS3 animations considered harmful >> >> tedd wrote: >>> At 9:19 PM -0400 8/10/10, David Laakso wrote: >>>> Gabriele Romanato wrote: >>>>> Hi! >>>>> need some responses and criticisms about my opinions expressed >>>>> right >>>>> here: >>>>> >>>>> >>>>> http://onwebdev.blogspot.com/2010/08/css3-animations- >> considered-harm >>>>> ful.html >>>>> >>>>> HTH ^^/ >>>>> >>>> > Gabriele Romanato >>>> >>>> >>>> CSS is a programming language: albeit, a very simple one. It copes >>>> with "look and feel." Expanding CSS to include more than that is >>>> scary. But therein may, or may not, lie the future. /Push the >>>> envelope./ >>>> >>>> Best, >>>> ~d >>> >>> I agree and was very close to responding as such. However, I didn't >>> think my contribution would amount to anything in that forum. >>> >>> In any event, people who say that CSS is not a programming language >>> must have a better understanding of programming than me -- after >> all, >>> I only wrote my first line of code 45 years ago and still haven't >>> mastered it. >> >> CSS isn't a programming language. No control constructs like >> IF/THEN/ELSEIF, SWITCH, etc. No variables. The only programming >> language presence really are the MS extensions (Javascript functions). >> > > I wish there were variables. Even variables of the macro kind for defining a > color palette would be really great. MAIN_COLOR = #123456; > > border-color: MAIN_COLOR; > color: MAIN_COLOR; > Want to change your main color from green to blue? Change one line! How > awesome would that be? But anyway... > > I think the lack of control structures is a little erroneous... the entire > language is a giant switch statement. If there's an element that matches > such and such, apply these properties... > > Switch (element) { > Case 'p': margin: 1em; > } > > We just leave the switch() case: out for brevity. :P > > Also, isn't it instructions for a computer? Isn't that the definition of a > programming language? I can understand HTML not being a language, as it > doesn't, by itself, cause anything to happen to the text (default styling is > CSS, after all). But CSS actually does stuff. > > ---Tim > There is LessCSS [1] which attempts to make CSS into more of a programming language. As for the Gabriele's original point. I don't see the advances made in CSS3 to be harmful. Many people won't use the new "behavior" features extensively. People can still make nice looking sites that mainly use CSS features that have been in existence for a while now. JavaScript will remain an important part of client side web programming for a while. [1] http://lesscss.org/ -- Steven DuBois Free Software Foundation - Intern signature.asc Description: OpenPGP digital signature __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
David Laakso : > >CSS is a programming language: albeit, a very simple one. It copes with >"look and feel." Expanding CSS to include more than that is scary. But >therein may, or may not, lie the future. /Push the envelope./ Oh please, folks! CSS itself is not a programming language. It is a structured set of parameters (specifications) to be processed by various programs called browsers. Some do that processing better than others. Bruce __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
> -Original Message- > From: css-d-boun...@lists.css-discuss.org [mailto:css-d- > boun...@lists.css-discuss.org] On Behalf Of david > Sent: Wednesday, August 11, 2010 3:12 PM > To: css-d > Subject: Re: [css-d] CSS3 animations considered harmful > > tedd wrote: > > At 9:19 PM -0400 8/10/10, David Laakso wrote: > >> Gabriele Romanato wrote: > >>> Hi! > >>> need some responses and criticisms about my opinions expressed > >>> right > >>> here: > >>> > >>> > >>> http://onwebdev.blogspot.com/2010/08/css3-animations- > considered-harm > >>> ful.html > >>> > >>> HTH ^^/ > >>> > >> > Gabriele Romanato > >> > >> > >> CSS is a programming language: albeit, a very simple one. It copes > >> with "look and feel." Expanding CSS to include more than that is > >> scary. But therein may, or may not, lie the future. /Push the > >> envelope./ > >> > >> Best, > >> ~d > > > > I agree and was very close to responding as such. However, I didn't > > think my contribution would amount to anything in that forum. > > > > In any event, people who say that CSS is not a programming language > > must have a better understanding of programming than me -- after > all, > > I only wrote my first line of code 45 years ago and still haven't > > mastered it. > > CSS isn't a programming language. No control constructs like > IF/THEN/ELSEIF, SWITCH, etc. No variables. The only programming > language presence really are the MS extensions (Javascript functions). > I wish there were variables. Even variables of the macro kind for defining a color palette would be really great. MAIN_COLOR = #123456; border-color: MAIN_COLOR; color: MAIN_COLOR; Want to change your main color from green to blue? Change one line! How awesome would that be? But anyway... I think the lack of control structures is a little erroneous... the entire language is a giant switch statement. If there's an element that matches such and such, apply these properties... Switch (element) { Case 'p': margin: 1em; } We just leave the switch() case: out for brevity. :P Also, isn't it instructions for a computer? Isn't that the definition of a programming language? I can understand HTML not being a language, as it doesn't, by itself, cause anything to happen to the text (default styling is CSS, after all). But CSS actually does stuff. ---Tim __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
tedd wrote: > At 9:19 PM -0400 8/10/10, David Laakso wrote: >> Gabriele Romanato wrote: >>> Hi! >>> need some responses and criticisms about my opinions expressed right >>> here: >>> >>> >>> http://onwebdev.blogspot.com/2010/08/css3-animations-considered-harmful.html >>> >>> HTH ^^/ >>> >> > Gabriele Romanato >> >> >> CSS is a programming language: albeit, a very simple one. It copes with >> "look and feel." Expanding CSS to include more than that is scary. But >> therein may, or may not, lie the future. /Push the envelope./ >> >> Best, >> ~d > > I agree and was very close to responding as such. However, I didn't > think my contribution would amount to anything in that forum. > > In any event, people who say that CSS is not a programming language > must have a better understanding of programming than me -- after all, > I only wrote my first line of code 45 years ago and still haven't > mastered it. CSS isn't a programming language. No control constructs like IF/THEN/ELSEIF, SWITCH, etc. No variables. The only programming language presence really are the MS extensions (Javascript functions). -- David gn...@hawaii.rr.com authenticity, honesty, community __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
At 9:19 PM -0400 8/10/10, David Laakso wrote: >Gabriele Romanato wrote: >> Hi! >> need some responses and criticisms about my opinions expressed right >> here: >> >> http://onwebdev.blogspot.com/2010/08/css3-animations-considered-harmful.html >> >> HTH ^^/ >> > > Gabriele Romanato > > >CSS is a programming language: albeit, a very simple one. It copes with >"look and feel." Expanding CSS to include more than that is scary. But >therein may, or may not, lie the future. /Push the envelope./ > >Best, >~d I agree and was very close to responding as such. However, I didn't think my contribution would amount to anything in that forum. In any event, people who say that CSS is not a programming language must have a better understanding of programming than me -- after all, I only wrote my first line of code 45 years ago and still haven't mastered it. Cheers, tedd -- --- http://sperling.com/ __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CSS3 animations considered harmful
Gabriele Romanato wrote: > Hi! > need some responses and criticisms about my opinions expressed right > here: > > http://onwebdev.blogspot.com/2010/08/css3-animations-considered-harmful.html > > HTH ^^/ > > Gabriele Romanato > > CSS is a programming language: albeit, a very simple one. It copes with "look and feel." Expanding CSS to include more than that is scary. But therein may, or may not, lie the future. /Push the envelope./ Best, ~d -- http://chelseacreekstudio.com/ __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] CSS3 animations considered harmful
Hi! need some responses and criticisms about my opinions expressed right here: http://onwebdev.blogspot.com/2010/08/css3-animations-considered-harmful.html HTH ^^/ Gabriele Romanato http://www.css-zibaldone.com http://www.css-zibaldone.com/test/ (English) http://www.css-zibaldone.com/articles/ (English) http://onwebdev.blogspot.com/ (English) __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/