"Prof A Olowofoyeku (The African Chief)" wrote:
On 5 Oct 2004 at 0:08, Scott Moore wrote:
Here are IP Pascal's rules for overloads. I just finished implementing it. Yes, it is quite strict. To me, thats less problems going forward.
[....]
overload procedure myproc(i: integer);
Any particular reason for creating YAOS (yet another overload syntax)? I would have thought it reasonable to emulate an already existing and well established syntax (Delphi's).
Any reason for creating overloaded functions in the first place? It gobbles up another reserved word, and thus violates standards, and cuts off a vital (to me) error detection mechanism. You can always simply write "myproci" and "myproc" if you wish.