On Fri Jul 14, 2006 at 09:44:46 +1000, Erik de Castro Lopo wrote: >Benno wrote: > >> Umm, because I'm totally lazy, and haven't actually been programming in it >> lately I'll just provide a pointer: >> >> http://javascript.crockford.com/ > >Thats a nice link thanks. > >However, the real reason I asked was because I know you and I have >similar opinions on C and I'm currently programming in Actionscript >(ie with Macromedia Flash) which is a language very much like >Actionscript. Infact, the next version of Macromedia Flash will >actually be using ECMA script. > >My experiences with Actionscript have been horrific and I don't know >how much that is related to javascript.
So one thing that is seriously lacking in javascript has a decent set of standard library routines. (Which is one of the reasons I think python is so awesome.) But C doesn't exactly have a stellar standard library either. Javascript (at least as used for scripting webpage display), is I find a different programming model to other programming I've done, and did require a bit of a paradigm^W shift in thinking. I like the fact that you have closures. I like the fact that foo["x"] is the same as foo.x. I don't like its lack of inbuilt functions to convert from strings to float. I don't like the auto cast on concatenation e.g: '$' + 3 + 4 == '$34'. Umm, I can't remember the other things right now. ;) It was by no means perfect and had plenty of warts, but it was definately better than I was expecting ;) Cheers, Benno _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders