[fpc-pascal] A better way?

Ryan Joseph ryan at thealchemistguild.com
Thu Apr 14 16:46:42 CEST 2016


> On Apr 14, 2016, at 9:25 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> In this case the tool tells you that the 2 classes should be in 1 unit.
> So, you can waste your time looking for a way out, or just use the tool as
> it is meant.

I think I prefer using type casting or abstract classes more than mixing 2 mutually exclusive classes into one unit even though they may have dependancies on each other. Editing and navigating the files would be confusing for one since there’s no obvious name to use for the file now.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list