1, yes. the 'implicit semicolon' is evil. probably brought to us by the crazy defacto standard way javascript was pulled out of thin air by some guys at netscape. 2. huh, i guess i've never wanted to do that. 3. i have been getting js and python mixed up lately, mostly wanting to do js things in python. js really makes it obvious that it is a scripting language where data structures are just syntactic sugar on hashes. python covers it up a little more, but I've beet writing python lately and craving the craziness of being able to access someinstance.member as someinstance['member'] (and there is python for this, someinstance.__get__('member') or so, but it's not as pretty)
As far as silly DOM-shuffling graphics and animation effects, everyone is using pre-rolled libraries for that, because doing it from scratch and having it work well in every browser is just a whole lot of work. Yahoo UI, Jquery UI, script.aculo.us, the list goes on.
I find I use plain old Jquery, if not Jquery plus the UI module, in almost every real project I work on. It's pretty indispensable.
Comments 17
done
Reply
I mean, I know javascripts inconsistencies are bad...
Perhaps there is something I do not yet understand about this package...
Reply
Reply
Reply
2. huh, i guess i've never wanted to do that.
3. i have been getting js and python mixed up lately, mostly wanting to do js things in python. js really makes it obvious that it is a scripting language where data structures are just syntactic sugar on hashes. python covers it up a little more, but I've beet writing python lately and craving the craziness of being able to access someinstance.member as someinstance['member'] (and there is python for this, someinstance.__get__('member') or so, but it's not as pretty)
Reply
Reply
Thanks!
Reply
I find I use plain old Jquery, if not Jquery plus the UI module, in almost every real project I work on. It's pretty indispensable.
Reply
There's an extension to make that kinda-sorta happen, but it's ridiculously slow and only barely usable.
On the plus side, if you're using most browsers, canvas is totally awesome :-)
Reply
Leave a comment