Re:JSON stylesheets - screw CSS frameworks, use JavaScript -...
by IgorPartola on Monday December 21, 2009 @06:28PM
(#1008882)
This will be SLOW. Also not having vars in CSS is a blessing in disguise: otherwise business logic would be built into the stylesheet by some genius and I would Auvergne to support it. No thanks.
[ Parent
| on HN ]
Re:JSON stylesheets - screw CSS frameworks, use JavaScript -...
by JimBastard on Monday December 21, 2009 @06:31PM
(#1008887)
1. jQuery and sizzle are pretty fucking fast
2. if you cant separate your business logic from your views....you have bigger problems to deal with....
Re:JSON stylesheets - screw CSS frameworks, use JavaScript -...
by IgorPartola on Monday December 21, 2009 @06:57PM
(#1008941)
1. Not as fast as C++
2. Exactly. And this simply invites someone to put in the stylesheet.
3. Debugging CSS is already not trivial due to implementation issues. As this technique still relies on CSS you will still have some of the same issues.
4. Ability to have expressions in the stylesheets has already been tried. Once. Trust me you don't want it. Testing and debugging it is very hard.
Re:JSON stylesheets - screw CSS frameworks, use JavaScript -...
by JimBastard on Monday December 21, 2009 @07:14PM
(#1008988)
lolwut?
i'll agree with you that c++ is faster then jQuery....good day