Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAndrew Bruner
Full Stack JavaScript Techdegree Graduate 27,932 PointsAt what point does a library become a framework?
I've heard the distinction between JavaScript libraries and frameworks argued over many times, but I'm curious: at what point does a library become a framework?
1 Answer
Steven Parker
231,269 PointsThe most generally accepted distinction is known as "inversion of control". A library is a collection of resources that your program can use as it runs. Your program is in control.
But a framework generally is the control program and you supply components that it uses to customize what happens.