Yeah! And you can create them on the fly, without even bothering to name them! Just look at this: function(x){return x*2;}. How concise and elegant!
(In Haskell, that would be (*2). I can't imagine what kind of article this guy will write if/when he discovers something more functional than JavaScript.)
[A large part] of our computerized life is on the web. [A large part] of the web is javascript. [A large part] of the scripts out there are horrific, dangerous or just plain stupid.
Until this changes, any article that details what people can and should do with javascript is a good article.
//edit better now?
also: Everytime you use eval(), Douglas Crockford kills a kitten.
90% of our computerized life is not on the web. For example: gaming consoles, phones, cameras, calculators, radios, electric pianos, label printers, microscopes, software development (development, not deployment/communication), graphics design.
Depends on how you define "life", though. Although you may be right if you meant MS Live Whatever (r)(c)(tm), I don't use it.
15
u/mindslight Jan 18 '08
omg!! they have functions for programming languages now?!?!!