What is the difference between a class library and a framework

后端 未结 11 2067
别那么骄傲
别那么骄傲 2020-12-01 13:04

I hear the whole day the terms class library, base class library, Framework, ...
What highlights a framework and what a base class library?

11条回答
  •  甜味超标
    2020-12-01 13:27

    I think of a framework as a pattern that an application can conform to, defined in a set of libraries.

    A "base" class library might mean several things depending on the context; it could refer to classes that are designed to be derived from, which is a common approach in frameworks, or it could merely refer to a core library of classes that are assumed to be useful in any application and so are considered a "basic" need, almost part of the language (for example, container classes).

提交回复
热议问题