Packages and modules and files: oh boy #2576
Replies: 3 comments 8 replies
-
+1 in principle for merging
|
Beta Was this translation helpful? Give feedback.
-
'missa' can/should be held just as another 'hora'. |
Beta Was this translation helpful? Give feedback.
-
Yes, I think this is the right thing to do: the missa logic is quite close enough to the officium logic.
One problem might be that the versions for Mass are slightly different, reflecting the history. There is no OP or Monastic missa; and there is no 1965-1967 officium.
AJM
|
Beta Was this translation helpful? Give feedback.
-
We have five packages (missa, horas, horas::Scripting, DivinumOfficium::Main, DivinumOfficium::FileIO) and 13 files (the rest of horas/... and missa/...) which have no package but are required at run time. This is too many packages(!), and most of the globals belong to missa when missa is running but to horas when horas is running.
Fajne to bałagan.
I've been arranging horas/ so that the code runs under stricture and all warnings: and it’s done! although not put in production, of course. It involved adding about 600 new declarations, and about 100 other changes, mostly to distinguish undefined from empty (since in warnings mode, they are different).
But... now everything horas/... is horas:: and that's good and tidy, but of course it doesn't work with missa:: any more because the variables are all rescoped at run time. In fact the division between missa:: and horas:: has given rise to the cloned kalendar and setup and popup etc which have diverged in the two packages, quite unnecessarily.
Either
I'm inclined to the first choice above.
I’d like to discuss it, though.
I don't think we should have so many packages: in fact it seems to me there should be one package and many modules.
Beta Was this translation helpful? Give feedback.
All reactions