Tuesday, February 24. 2009ohmygoodnessihatejavascriptTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Yea, Javascript is officially terrible. I'm going to use version 1.7 (https://developer.mozilla.org/en/New_in_JavaScript_1.7) for our code (provided it works), which will let us use generators, list comprehensions and some other kinda modern things... Hmmm... What does Python do?
Wait, what?!? (Okay, your markdown is messing up my code, but you get the idea.) I used to think so too, until I forced myself to learn the language. It isn't Python, but it isn't bad at all. There are quirks to remember to avoid - for example, "Object" keys can only be strings, and there are many automatic conversions that I prefer to avoid or make explicit. There are some roundabout ways to do things, like defining "classical" classes. And there are some neat-o features I can't get enough of, like function definitions being expressions, which along with closures create opportunities for some very elegant code. |
QuicksearchArchivesLinksCategories |