Views: 2307
Submissions: 44
Favs: 254

Digital Artist | Registered: Jan 27, 2007 08:25
Animator and Illustrator, originally from Maine, but currently living and working in Atlanta.
Looking for my non-furry arts? Hit me up on dA @ http://rougespark.deviantart.com/
Consumer of tofu, destroyer of cupcakes.
Looking for my non-furry arts? Hit me up on dA @ http://rougespark.deviantart.com/
Consumer of tofu, destroyer of cupcakes.
Featured Submission
Stats
Comments Earned: 169
Comments Made: 213
Journals: 20
Comments Made: 213
Journals: 20
Recent Journal
Programming Rant
14 years ago
Yay! I get to rant about something! For those of you who don't like/know programming, feel free to skip this as it will be techy.
Ok, so I'm trying to teach myself how to effectively program in JQuery and Javascript. The exact reasons for this are the subject of another rant.
I understand how JQuery work in regards to the DOM, and I love its simplicity. Yet, the way JQuery handles everything in nested anonymous functions scares me. Everything I know about proper coding technique in object oriented languages is screaming at me that this is a great way to make horribly long spaghetti code. But whenever I try separating out discrete functionality to named functions everything breaks. What the hel am I doing wrong? I really want to use JQuery because it makes manipulating elements and using AJAX so much less painful. If its going to break my ability to make maintainable object oriented code however, I'm not quite sure.
Long story short, is there anyone who knows what I'm talking about and how to fix what I can only assume is a error on my part?
Ok, so I'm trying to teach myself how to effectively program in JQuery and Javascript. The exact reasons for this are the subject of another rant.
I understand how JQuery work in regards to the DOM, and I love its simplicity. Yet, the way JQuery handles everything in nested anonymous functions scares me. Everything I know about proper coding technique in object oriented languages is screaming at me that this is a great way to make horribly long spaghetti code. But whenever I try separating out discrete functionality to named functions everything breaks. What the hel am I doing wrong? I really want to use JQuery because it makes manipulating elements and using AJAX so much less painful. If its going to break my ability to make maintainable object oriented code however, I'm not quite sure.
Long story short, is there anyone who knows what I'm talking about and how to fix what I can only assume is a error on my part?
User Profile
Accepting Trades
No Accepting Commissions
No Character Species
Moose
Favorite Music
Techno, Rock, etc.
Favorite Games
Minecraft
Favorite Foods & Drinks
Japanese, Thai, Chinese
Favorite Artists
Andrew (Android) Jones
Contact Information

