Me and JavaScript
I find it odd that me and JavaScript don’t mix very well. I’m perfectly fine with most other scripting languages I have used, so why not JavaScript?
Its something that I really want to learn to use, being able to write it on my own (without having to struggle through searching google and manipulating code I find to suit my needs) would be a really useful skill to have – plus, JS can do some pretty cool stuff! I’m okay using the old school DOM way of manipulating small things like the style of an element with an Id (using getElementById), but when you then introduce frameworks into the mix like jQuery, it pretty much changes the syntax of everything.
Maybe it’s just that I’m not used to using frameworks (for anything) to code what I want, I enjoy doing it using the base language – it makes you feel like you’ve accomplished more, but then it’s much more time consuming to code (especially when you don’t know the language very well in the first place…).
Over the past month I’ve been using various “off the shelf” JS solutions for certain things on the sites I’ve been working on at MTC Media. Mainly tinyMCE (which I have to say after 2 months I’m now okay with using =p), Cycle, and a few different lightboxes (shadowbox is the one I like best…). I have used a few other things, but very sparsely.
Even after working on the JS solutions above occasionally for the past 2 months at work I still find myself running into things that just stump me for a fair while. Theres a few times at work that I’ve been sat there for a good half hour figuring out (pretty simple) problems, like missing a comma or a semi-colon.
I think my main problem with it is that there isn’t really any good error detection software (that I’ve found at least) associated with JavaScript, so once I hit an error I pretty much have to go through it line by line to see where I’ve went wrong. The error console in Firefox helps a little, but it’s not great. So if anyone knows of a nice error detection plugin or something then give me a shout!
If anyone knows of any good resources for learning JS (along with using jQuery) then please do share!


