Re: Why aren't you upgrading?
- From: "Clinton R. Johnson" <spam@xxxxxxxxxxxxx>
- Date: 10 Oct 2006 23:48:19 -0700
Jolyon Smith wrote:
In article <452c45ec$1@xxxxxxxxxxxxxxxxxxxxxx>, Clinton R. Johnson
says...
I figure I
probably have a hundred near IDENTICAL declarations of TList
descednats that could EASILY be replaced with :
Var
MyList : TList<TMyObject>;
Saving me a LOT of time
Erm, you've already invested that time. So you can't save it now.
In fact, replacing them with TList<> will cost you additional time
for no net gain.
Very shortsighted. I still have more apps to write. I can save time
in them. I have apps to maintain, I can make them more maintainable.
How many of those type safe lists were actually needed to be
type-locked except presumably simply to prevent inadvertent use by
developers who couldn't be relied on to code safely either through
lack of knowledge, application or disciplne?
And you use a Pointer type for everything yes? Some questions answer
themselves. If your code is typesafe, the compiler can catch the
stupid stuff and you can focus on the more important details. Code
becomes significantly more maintainable with type safety. I've had
projects that are reaching 10 years old now, and even with a few years
away, because of type saftey built in, I can EASILY and immediately
understand what is going on when I have to revisit them. Try doing
that if everything was TObject and Pointer. Nope, thanks, pass.
I've been programming for about 23 years now, and I sincerely wish
generics has been part of Pascal since the very start. The time it
would have saved me creating code would be significant, the dumb
mistakes it would have saved me from (hey, everyone makes them), the
code I would not have had to rewrite over and over and over and over...
Write the framework for a system that crosses 20 or 30 applications and
services and has at least 10 years of production life and you'll see
what I mean.
.
- Follow-Ups:
- Re: Why aren't you upgrading?
- From: Jolyon Smith
- Re: Why aren't you upgrading?
- References:
- Why aren't you upgrading?
- From: Nick Hodges (Borland/DTG)
- Re: Why aren't you upgrading?
- From: Mat Ballard
- Re: Why aren't you upgrading?
- From: Bryce K. Nielsen
- Re: Why aren't you upgrading?
- From: Chad Z. Hower
- Re: Why aren't you upgrading?
- From: tjb
- Re: Why aren't you upgrading?
- From: Chad Z. Hower
- Re: Why aren't you upgrading?
- From: Clinton R. Johnson
- Re: Why aren't you upgrading?
- From: 42
- Re: Why aren't you upgrading?
- From: Clinton R. Johnson
- Re: Why aren't you upgrading?
- From: Jolyon Smith
- Why aren't you upgrading?
- Prev by Date: Re: Why aren't you upgrading?
- Next by Date: Re: Why aren't you upgrading?
- Previous by thread: Re: Why aren't you upgrading?
- Next by thread: Re: Why aren't you upgrading?
- Index(es):
Relevant Pages
|