Stop recommending libraries
Tags: webdevelopment, programming.
By lucb1e on 2012-04-28 17:59:30 +0100
A: I recommend using jQuery or MooTools for this. [Link to how it's done in Mootools]
That's not the answer to the question, that's how you
would do it given that you already use a library on your site and you
don't really care about how
Here's what you can do in 96 kilobytes:
Another reason why this is wrong is that you are limiting yourself to the capabilities of the library. You can't write your own code.
Side-story about writing your own code: The day before yesterday a friend of mine had a test at school and had to write code on paper. Afterwards many classmates were complaining how they reflexively tried to use ctrl+space, but of course couldn't since they were writing on paper. They said they just couldn't write anything!
To me this is absolutely hilarious, being so dependent on the computer suggesting the code for you that you can't write anything without its help. But by only using libraries, you are creating the same issue.
Well I can see how this might be the next step. We also don't write much assembly anymore do we? Libraries for scripting languages might be the next step in programming a computer to do something. Still, I feel it's good to know the underlying system.
Edit 23 September 2012: