What's OOP? In easy steps

原创 2004年10月28日 16:08:00

2004-10-22 15:24:47 Ryan
Originally, we describe the problem as "What to do first, then what to do next...", so a problem is described as a sequence of operations. This is called "procedural" way of solving problem

2004-10-22 15:25:55 Ryan
the "Procedural" way of solving problem is focusing on the sequences of operations needed to resolve the problem. But on the other hand, "data" is described "as needed for operations". They are not focused.

2004-10-22 15:27:40 Ryan
Later, when real world gets more comprehensive, people has found that it's hard (even not possible) to simply describe problems as a sequence of operations: solutions to problems is no longer straight-forward. So some clever men has turned there eyes from operations to data-objects.

2004-10-22 15:29:30 Ryan
Object-oriented way of solving problems, differed from the good-old procedural way, is that people no longer describe the problem as simply a sequence of operations, but trying to break up the problem into different objects, that is, entities with own data and operations.

2004-10-22 15:30:35 Ryan
So the whole problem is becoming the inter-operations between objects. This made the problem into small sub-problems, which are much easier to analysis and implement.

2004-10-22 15:37:11 Ryan
Object-oriented is mostly represented in analysis and design phases. Newer languages like C++, Java or C# have added language-level support to Object-oriented programmings, like "class", "inheritence" and so forth, but you can still use C to write code that implements an oo-design.



550.What is the correct order of steps to perform an online database backup? A. alter database begin...
  • rlhua
  • rlhua
  • 2013年11月10日 01:29
  • 4088


308.In what order would you execute the following steps to create a recovery catalog? A. Issue the ...
  • rlhua
  • rlhua
  • 2013年10月27日 20:01
  • 4612

What's Wrong with Deep Learning?

YaneLeCun   Deep learningmethods have had a profound impact on a number of areas in recent years,i...
  • dlx2556060
  • dlx2556060
  • 2015年10月14日 14:56
  • 292

英语每日一句: What’s your point? 你到底想说什么?

英语每日一句: What’s your point? 你到底想说什么?
  • gaoch_2000
  • gaoch_2000
  • 2014年10月31日 12:01
  • 3440

Yann LeCun video: (What's Wrong with Deep Learning?)

video address: http://techtalks.tv/talks/whats-wrong-with-deep-learning/61639/
  • yihaizhiyan
  • yihaizhiyan
  • 2015年08月05日 11:03
  • 815

Erlang what‘s app nothing

在Yahoo!供职时,Rick Reed曾负责用C++建立高性能的消息总线,因此他对高扩展性架构并不陌生。WhatsApp创始人中还包括了一个拥有大量扩展经验的Yahoo!工程师,不难得知,Whats...
  • gnicky
  • gnicky
  • 2014年04月07日 09:06
  • 624

Now That's What I Call Music 16张专辑目录

01 01 Wet Wet Wet Love Is All Around01 02 Bon Jovi Always01 03 Mltr 25 Minutes01 04 4 Pm Sukiyaki01 ...
  • nethermit
  • nethermit
  • 2004年11月24日 10:15
  • 2813

iOS 各版本中的新特性(What's New in iOS)- 目录翻译完成

iOS 各版本中的新特性(What's New in iOS) 太阳火神的美丽人生 (http://blog.csdn.net/opengl_es) 本文遵循“署名-非商业用途-保持一...
  • App_IOS
  • App_IOS
  • 2015年05月02日 13:10
  • 2359

UVA10008 What's Cryptanalysis?【字符统计+sort】

Cryptanalysis is the process of breaking someone else’s cryptographic writing. This sometimes involv...
  • tigerisland45
  • tigerisland45
  • 2018年01月09日 05:50
  • 194

UVa 10008 - What's Cryptanalysis?

题目:统计字母出现的次数。 分析:简单题。简单的字符串处理。 #include #include #include #include #include using namespac...
  • mobius_strip
  • mobius_strip
  • 2013年10月20日 06:08
  • 1263
您举报文章:What's OOP? In easy steps