Skip to content

An example of OOD design for python beginners and children

License

Notifications You must be signed in to change notification settings

l-0-l/OOD_design_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOD_design_example

An example of OOD design for python beginners and children.

There are only two files here, "good.py" and "bad.py". Obviously it is better to begin with the "bad.py" file, to see what we're trying to improve. To run the files, just type "python good.py", for example. Some IDEs may not be able to clear the screen using the cls or clear command. It does work good in the Windows cmd window, or (if you replace the "cls" to "clear" in both files) in Linux terminals.

There's also a class diagram, which can help understand the structure and the dependencies of the code. Open it in http://draw.io/.

Hope this is helpful.

About

An example of OOD design for python beginners and children

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages