[fpc-pascal]Linked List/ pointers/ casting/ OOP Question
xecronix at yahoo.com
Sun Jul 11 16:10:40 CEST 2004
--- Harald Houppermans <houppermans at home.nl> wrote:
> Just a general comment:
> Have you thought about writing a generic/general
> linked list unit first and
> then using that to implement the widget stuff ?
> Since writing linked lists can be tricky... best is
> to make a generic unit
> for it... test it well... and use it ;)
> I can think up some reasons why not to use generic
> linked lists:
> 1. Speed reasons. ( Generic lists might be a bit
> slower because of more
> procedure calling )
> 2. Some special linked list stuff is required..
> Do any of these reasons apply ?
No, there is no reason to not write a generic linked
list first. I've considered working on a generic
linked list class as a separate project from the one
I'm currently working on. First I would like to see
this project through to completion before I start a
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
More information about the fpc-pascal