Refactoring: Simplification of SectionBuilder, VolumeImpl and VolumeP…#44
Refactoring: Simplification of SectionBuilder, VolumeImpl and VolumeP…#44PaulRambags wants to merge 1 commit intomtmse:masterfrom
Conversation
|
Let me ask first: how many PRs like these are going to follow? :-) I mean, I just want to make sure I don't spend more time than needed on reviewing. I can already see a few things about this commit that I don't like so much, but it all depends on where you want to go with it. If this PR is a preparation to what is going to follow, I'd rather review it when I've seen more. Or do you say this PR stands on its own, with code simplification as goal? In that case there are a number of things I would do differently. |
Yes that is the case. |
|
OK here it goes :-) The two most important things that make Dotify code hard to work with are in my opinion:
In other words, the typical problems you encounter with a lot of object-oriented code. We should keep these things in mind when refactoring code. We have to question whether certain classes really need to keep existing. Applied to
|
This is a simplification of the current code. No functionality has changed.
This may be regarded as a first step to eliminate the sheet level.
@bertfrees @kalaspuffar Please review this PR, many thanks!