A template is when they give you a bunch of code as a starting point, and you change it to make the thing you want.
A framework is where you fill in the gaps in someone else’s code but don’t change it. Usually you don’t see the code in the framework, same as with a library. In fact from the computer’s point of view, frameworks and libraries are the same thing – the difference is the programming style.
Note that “template” means something different in C++
Latest Answers