I've often posted about micro-frustrations with Javascript. It's rather unlike PHP; it's the language of the browser, not the server; it doesn't seem to have clear-cut rules ("Always Use Semicolons", "Don't use semicolons --- JS will add the ones it needs"); and debugging it used to be like herding cats (thank you, Whomever, for Firebug). 🙂
But is the "macro" world of Javascript also frustrating? What it seems to me: the only people writing "pure" JS are the library devels; everyone who works in the real world uses a mix of pure JS and some library. Since it deals directly with the DOM, the community is full of HTML newbs, artsy graphics designer types and more trolls than a Grimm's tale. And the target is "the modern browser" (whichever of the $x++ it is this month) --- which leads to a decision tree that makes complex XML documents looks like tinker-toys by comparison.
So, I'm trying to figure out the community, the paradigm I will use to increase my ability to be a "front end" developer ... since I'm basically the only devel here. What do I read? What do I practice (in my "free" time, 😉 😉 )? What do I believe? Do I follow Crockford, Eich, or someone else? Do I devote myself to jQuery even though some of our web properties are YUI-based ... and do I ignore Scriptaculous even though it's still being used on some company pages? Do I slow down my sites by including "my" library along with the ones the original developers used?
I'm not saying that the PHP community is perfect either; not by a long shot. But I'm really having trouble with the entire idea of attempting to master JS. I mean, I can write the schiz ... it just takes forever compared with PHP (that's probably a function of my experience).
If this is a rant, please excuse me. I'm just trying to think out loud in a place where I'd probably just sound like "blah blah blah" to most anyone else I can bend an ear on ....
What do you think?