On Wed, 2 Feb 2011, Anthony Walter wrote:
Yeah, I just added the code highlighter, which build the highlights using javascript. I set to "display: none" while the page loads which isn't effecting the print version. The workaround is that you can print the code blocks by clicking the print icon in each code section. I'll fix it later. Regarding the observer pattern, I'll refer you to this stack overflow question: http://stackoverflow.com/questions/550785/c-events-or-an-observer-interface-pros-cons My take is that event are more natural and that they are probably more well established than the pattern of creating an interface to subscribe to events.
By contrast, generics are not established at all in Object Pascal, so I wouldn't exactly agree with you that it is more natural :-)
Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal