Re: How to have smaller units

Rafael Picanço via fpc-pascal <[email protected]> Sun, 30 Nov 2025 13:10:23 -0300
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAGpuCi5t5UQCJMi56E2VdTeKaFyD+wMRyiZQnbC42mf7Sifgug@mail.gmail.com>
>
> Then you simply have the wrong idea what a unit it. It is intended for code
> with high cohesion, so it doesn't matter if it gets large.
>
> Regards,
> Sven
>

Can you help me out with a few questions, Sven?

(1) Do you consciously use formal cohesion criteria? (Of course, some more
or less frequently than others.)
A quick search here returned this study, for example:
https://dl.acm.org/doi/10.1145/1131421.1131422

(2) Can you list the underlying cohesion criteria used in the units of Free
Pascal, or point to any material on the subject?

Best regards,
R

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal