Changes

Jump to: navigation, search

Rchan sandbox

1 byte removed, 14:28, 3 November 2019
OBJECTIVES
:::* Just as you can define a function in a separate python file from where you use it - you can do the same when defining a class. In fact, it's even more common with classes since your're more likely to need to use them in multiple places.
:::* The names of the class files are by convention all in lowercase and short - but that's just because most programmers are lazy typists. Feel free use longer file name so you can tell what they are without opening them.
:: As you try to design the classes, you will quickly realise that there is a potentially infinite number of properties (attributes and methods) that any class can have. What you choose to include in your class definition should be guided by what you intend to do with it.
==Reference==
1,760
edits

Navigation menu