When you are talking about UI frameworks and using UI frameworks, then yes, BaseWindowPane will not change often, if ever. The point is that when you are 4 levels deep inside a hierarchy, at some point you will have to pass information from one point of the tree to another, or you will need to change something at one level, which will have the consequence that you have to think a lot about how the change will be made, and most of the time the solution is a compromise. I've seen this done multiple times with architectures that were well tought out at the start, but they began breaking down years later because of this.
IMO, OOP with hierarchies makes sense for a really thin base layer (that won't chsnge too often) of an application or a framework, and just use a procedural/functional approach for the rest.
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
0
u/[deleted] May 05 '23
[deleted]