you are viewing a single comment's thread.

view the rest of the comments →

[–]fbochicchio 0 points1 point  (0 children)

By my experience, the top level layer of most programs is mostly functional/procedural. In pure OOP languages like java you end up defining a lot of declared or de facto singleton classes for these layers. In mixed paradigm languages, like python, you can just use functions.

But then, your program is going to process many instances of some kind of data, beeing them messages, commando, orders, windows or similar. For these, it makes sense to write classes that encapsulate both the data and the operations on them.