Hacker News new | ask | show | jobs
by jayvanguard 4522 days ago
I agree with the sentiment but not with his categorizations. For me, a library is something you call that does not impose an overall structure or set of processes on your code. You call it and control it while a framework calls you and imposes flow and structure on your code.

This is why frameworks aren't great for beginners to learn on. So many decisions are taken a way from them they don't gain an understanding of what is really happening.

jQuery is a DSL which makes it a bit tougher to categorize. You can use it as a library, but in general it will end up taking over more of your application structure and flow control if you use it well.