[fpc-devel] Unicode and UTF8String

Marco van de Voort marcov at stack.nl
Tue Dec 2 09:06:41 CET 2008


In our previous episode, Micha Nelissen said:
> > There are an immense amount of similar examples possible (and if you add 
> > operator overloading in the mix, it increases exponentially), and you'd 
> > get a huge amount of "can't decide which overloaded function to call" 
> > errors even if the compiler were hacked to take the use of the function 
> > results into account.
> 
> Let the programmer define a scoring function (to be called by the 
> compiler when it has multiple options) that takes two functions and 
> decides which combination is most efficient or whatever ;-).

Yes, that is how script languages solve it. However in anything designed for
larger programs, this is less usefull, since only one error can result in
endless debugging.



More information about the fpc-devel mailing list