26
Comments
  • 2
    A friend of mine learned programming at school, every class of his had 3 methods, input(), output() and calculation(). Input reads from stdin and sets attributes, calculation does something with them, and output prints something from the attributes. The main method creates an instance and calls all 3 methods respectively.

    This works for beginner programs, but not for anything else
Add Comment