Re: Wishlist for Delphi 10 / 2006

From: Ryan Mills (rmcontrols_at_mills-enterprise.ca)
Date: 11/22/04


Date: Mon, 22 Nov 2004 13:18:10 -0700


>Agreed, there's always the odd programmer in a team who seems to enjoy
>abusing language features to the point that you'd like to retreat to a
>silent part of the building, sit down, and weep. "with" statements can
>indeed be one of those tearproducing aspects.

Been there....Same goes with Interfaces. I love interfaces, but I've worked
with people who don't understand them and then complain about them
when the code doesn't work as expected. (ie. mixing the object and interface
models).

>Given the resentment you (and many others) have against generics and
>operator overloading, perhaps it would be best if they were included in
>the projectoptions, grouped with the rest of the syntaxoptions.
>I just hope that, if they do, they'll also include the option to
>disallow the "with" statement =)

Now wait a minute, I've never stated that I dislike generics, operator overloading
yes. I don't totally understand generics and some of the other posts related
to my original one have attempted to explain them to me. Given some more
information I would probably not find generics all that bad. Having said that
though I still don't think that what I've heard is enough to warrent the use of
generics.

All I've heard about generics so far is "containers". Couldn't you do the same thing
with an interface or even a pointer? I think that most of the features and
functionality provided by generics could be roughly duplicated by existing
language features of delphi, if the existing features were properly understood by
the implementing developer.

As for providing generics or operator overloading as compiler options, that's an
interesting point, I'd have to think about that one some more.

Ryan.



Relevant Pages

  • Re: Targeting builds for .NET FW 1.1 using VS 2005
    ... I remember reading somewhere about a VS2005 setting ... >that would disallow .NET 2.0 language features, like generics. ...
    (microsoft.public.dotnet.framework)
  • Why Generics?
    ... the powers that be added generics. ... Can someone please explain to me what value they add to Java? ... Java didn't need any language features to implement container classes ...
    (comp.lang.java.programmer)
  • Re: C# 2.0 vs. .NET Compact Framework 2.0
    ... I *think* he's trying to ask if he can use the new language features of C# ... (generics and the like) ... However, if you're talking about C# as provided in Visual Studio 2005, it ... your project targets .NET CF 1.0, then it should run on devices that have ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Your 2 cents: Java Generics, love it, hate it, or waiting?
    ... > What is your vote on generics? ... I am a big fan. ... language features over having to cast everything from Object. ...
    (comp.lang.java.programmer)
  • Re: Interfaces and abstract tagged types
    ... These 3 cases represent an implementation view on inheritance. ... interfaces and implementations. ... This multiplies the same code by the factor of W**D where W is the tree ... In order to handle this exponentially exploding code, generics are ...
    (comp.lang.ada)