官术网_书友最值得收藏!

1.3 Evolution of ‘C’ Based Programming Languages

In 1960s structured programming language was born. This method of programming can be supported by some languages like C. By using this structured language, moderately complex programs can be completed fairly easy. However, even with such a structured programming method, once a project reaches a certain size, its complexity will be far beyond the scope of what a programmer can manage. By the early 1980s, many projects were pushing the structured approach past its limits .To solve this problem, a new method of programming came out. This approach is object-oriented programming. Object-oriented programming can solve complex program based on inheritance, encapsulation, and polymorphism.

In the final analysis, although C is one of the world’s great programming languages, there are some deficiencies such as weaker capability to handle complexity. Once program codes exceed more than 25,000 lines of code, it becomes so complex that it is difficult to control as a totality. OOP programming overcomes this obstacle and manages larger programs.

面向過程編程的缺陷:當程序規模增大時候,復雜度也隨之增加,程序員無法控制所寫的代碼。而面向對象編程可以克服這個缺陷。

主站蜘蛛池模板: 安乡县| 安乡县| 河东区| 萨迦县| 句容市| 琼中| 萝北县| 日土县| 新营市| 新余市| 彭阳县| 潞城市| 莒南县| 南川市| 洛扎县| 富民县| 宜宾市| 得荣县| 合江县| 抚州市| 巩义市| 礼泉县| 左贡县| 岱山县| 玉溪市| 汝城县| 天台县| 康定县| 山丹县| 翁牛特旗| 乐昌市| 凌海市| 三亚市| 冕宁县| 彭州市| 隆昌县| 镇安县| 仁怀市| 威宁| 建宁县| 普陀区|