没有合适的资源?快使用搜索试试~ 我知道了~
Pitfalls of Object Oriented Programming
需积分: 9 15 下载量 82 浏览量
2010-01-17
13:42:37
上传
评论
收藏 3.37MB PDF 举报
温馨提示
试读
114页
Pitfalls of Object Oriented Programming
资源推荐
资源详情
资源评论
Tony Albrecht – Technical Consultant
Developer Services
Sony Computer Entertainment Europe
Research & Development Division
Pitfalls of Object Oriented Programming
Slide 2
• A quick look at Object Oriented (OO)
programming
• A common example
• Optimisation of that example
• Summary
What I will be covering
Slide 3
• What is OO programming?
– a programming paradigm that uses "objects" – data structures
consisting of datafields and methods together with their interactions – to
design applications and computer programs.
(Wikipedia)
• Includes features such as
– Data abstraction
– Encapsulation
– Polymorphism
– Inheritance
Object Oriented (OO) Programming
Slide 4
• OO programming allows you to think about
problems in terms of objects and their
interactions.
• Each object is (ideally) self contained
– Contains its own code and data.
– Defines an interface to its code and data.
• Each object can be perceived as a „black box‟.
What’s OOP for?
Slide 5
• If objects are self contained then they can be
– Reused.
– Maintained without side effects.
– Used without understanding internal
implementation/representation.
• This is good, yes?
Objects
剩余113页未读,继续阅读
资源评论
heavendating
- 粉丝: 0
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功