On 2 Jul 2011 01:13, Jason Mulligan <[email protected]> wrote:
yes i am. extjs/jquery are fantastic examples of this paradigm gone wrong. the syntax ends up on multiple lines as you try to figure out what's what, and no IDE can accurately parse the docblock/expression/ literal to say Param1 is ..., Param2 is ... What do you mean, try to figure out? The property names tell you what's what. Having the params spread across multiple lines make it easier to read imo. I don't see why an IDE wouldn't be able to tell you what properties an argument object takes, if you're into that kind of thing. Certainly I don't think an IDE's limitations are a good reason to stop using a language feature. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
