In our previous episode, Bee said: > > http://blog.cleancoder.com/uncle-bob/2015/01/08/InterfaceConsideredHarmful.html > > I wonder, how modern Pascal (FreePascal in particular) answer the > questions. :)
I don't actually see questions why you shouldn't have interfaces. I only see reasons in those answers that you can do without if you want to add lots of specifications detailing cornercases. So the question is what one deems more important, a single class entity or simple(r) rules governing them. Seems the author of the above is in the former camp. Which is good, but as good as the latter IMHO. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal