Jump to content

Discussion: Can truly professional brower apps be made with a JS library?


Recommended Posts

I used to do all my javascript in pure javascript. I would write everything in JS, then cross-browser check it to make sure it worked properly on all the major browsers.

 

After making sure I had a solid working knowledge of JS, I switched to JQuery. I love it - it's an amazing little script.

 

But what I'm undecided about is whether a library like JQuery enables, or limits. Does it enable better coding, or limit the possibilities of coding? It's been excellent for me up until now, and I use it for everything these days, but I'm wondering what others think, particularly those in the industry.

 

 

When used properly, frameworks enhance creativity.  They free us from having to worry about the low-level stuff in order to concentrate on the code that actually does stuff.  Of course, frameworks can be used as a crutch, but the same can be said of any programming aide.  So long as you have a general idea of how the language works and what the framework is doing under the hood, I don't see a danger.  jQuery in particular is nice in that in many cases one still needs to write some vanilla JS along side it.

 

Regarding whether or not using 3rd party code is professional or 'good/right', I think every coder asks themselves whether or not using someone else's code somehow diminishes their work.  There's an implicit question of trust buried there, too - can I trust this code that I did not write?  This is actually a bit of psychology that has a name: Not Invented Here.

 

The answer is that it's perfectly professional to use these tools.  They're proven and increase productivity.  It'd be unprofessional NOT to take advantage of things that can make your job easier.  Also, do you play games?  Ever notice how many use the Unreal Engine?  Or the PhysX physics library?  Same thing on a more complex scale.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.