Re: [JSMentors] Parameters vs. Objects as Parameters

2011-06-16 Thread Amit Kumar
Personally, I prefer the single object parameter approach. Like you say, it's much more maintainable; if you ever add or remove parameters, none of your client code needs to be changed. You also avoid having to remember parameter order when calling a method. -Amit On Thu, Jun 16, 2011 at 6:09 PM,

Re: [JSMentors] new to JS

2011-03-03 Thread Amit Kumar
I think your approach should be first learn using a library (like jQuery), which will get you building functional apps pretty quickly. From there you can dive into the more advanced concepts of Javascript. Here's some books and the order I'd read them in: 1. *Smashing jQuery* http://www.ama