- 1
- 0
- 约小于1千字
- 约 35页
- 2022-04-23 发布于北京
- 举报
CSE341: Programming LanguagesLecture 19Introduction to Ruby and OOP;Ruby logistics;Ruby: Our focus;Ruby: Not our focus;Where Ruby fits;A note on the homework;Getting started;The rules of class-based OOP;Defining classes and methods;Creating and using an object;Variables;Self;Objects have state;Aliasing;Initialization;Class variables;Class constants and methods;Who can access what;Object state is private;Conventions and sugar;Why private object state;Method visibility;Method visibilities;One detail;Now (see the code);Pure OOP;Some examples;All code is methods;Reflection and exploratory progr
原创力文档

文档评论(0)