Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-11

Rw: Templates / Generics

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis
Show quoted text 17 lines
Michael Van Canneyt wrote: >>>>>Then they have to publish their specs real soon now. And I mean >>>>>not >>>>>something in a blog, but more something like documentation. We >>>>>can't wait >>>>>another 5 years, until they finally make up their mind. >>>>> >>>>Generics are already standardized. >>>> >>>Which standard is that ? C++ ? C# ? VB ? >>> >>ECMA Standard 334 > >But this is a standard for C#, so totally useless for Pascal syntax-wise. > Why useless? You can do exactly the same in a Pascal-styled way. We need just a minor part from the standard for the FPC compiler.

You stated that we could know already what the delphi-syntax will be, if they add generics over two years.

But we can't, since we don't know what 'pascal-styled' way they will choose.

I would say that a pascal-way is adding the 'interface' keyword. Like in array's and such. This is already mentioned.

The chances that Borland will choose another pascal-styled-syntax is huge.

Besides of that, I don't find that delphi-incompatibility is a no-go-area. Especially if we (or they - the core team) are the first ones who implement this feature.

And incompatibilities can be solved in Delphi mode.

And in general: If we can do something better then Delphi, I choose for loosing the compatibility.

Joost.

Reply by email