PLAY PODCASTS
44: What is the difference between a framework and a library?

44: What is the difference between a framework and a library?

They're often confused and can appear very similar, so what are the differences between code frameworks and libraries?

A Question of Code · Ed & Tom Hazledine

January 6, 202030m 49s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

When coding, we often make use of external tools and snippets to make our life easier. Importing existing code into your codebase is a common occurrence. But what is the difference between code that adds missing features to the language you're using and code that changes the way you structure your application? The crucial difference is that the former are libraries (probably) and the later are frameworks (probably).


Are all libraries small? Are all frameworks huge? Where do we draw the line between them? And what even is jQuery, anyway? Find out all this and more in this week's amazing instalment of A Question of Code.

Topics

code frameworkcode library