On Mar 31, 2014, at 23:01, [email protected] wrote: > Today's topic summary > Group: http://groups.google.com/group/bbedit/topics > > Disadvantages of object-oriented JS in BBEdit? [1 Update] > > Disadvantages of object-oriented JS in BBEdit? > Lawrence San <[email protected]> Mar 31 07:11PM -0400 > > I'm working on a large, complicated, responsive-design JavaScript file for > the new illustration section I'm building for my website, and I'm all > bogged down. The code has totally gotten away from me -- it's just too > complex for me to model it in my mind any more or to troubleshoot. So I'm > experimenting with refactoring it in a very object-oriented way, replacing > many of the functions with methods and sub-methods, just for > organizational/clarity purposes. Conveniently, I already have a master > object called "layout" in my main JS file, so in the subordinate > illustration JS file I'm doing lots of things like this: >
As much as I've love working with BBedit, I've never thought it was perfect as an IDE. Maybe it's time to look at something like Webstorm (http://www.jetbrains.com/webstorm/), or maybe even think about moving the whole project to coffeescript instead (but then I'm a Ruby guy and I'm partial to clean object oriented code). Wayne -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
