Re: Why aren't you upgrading?



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.
.



Relevant Pages

  • Re: "Do you want to replace the existing Normal?"
    ... G'day "Larry", ... to Not prompting for saving normal.dot. ... Steve Hudson - Word Heretic ... Though, once again, what I'm replacing it with, ...
    (microsoft.public.word.vba.general)
  • Re: "Do you want to replace the existing Normal?"
    ... G'day "Larry", ... to Not prompting for saving normal.dot. ... Steve Hudson - Word Heretic ... Though, once again, what I'm replacing it with, ...
    (microsoft.public.word.newusers)
  • Re: Python IDLE GUI
    ... If you have a curious nature, and must know whether replacing those dlls ... idle, and leave the system32 directory alone, since iirc win 2000 allows ... Python2.3/Tkinter apps on the NT-type windowses, ... itsself - it certainly clashes with other Tkinter apps on win32, ...
    (comp.lang.python)
  • Re: Just plain fucked...
    ... After replacing it and reloading everything, ... It will not run 16bit apps. ... So, you can run things that don't have a 32 bit or better installer, and ... I also use ORCAD for DOS, which runs beautifully on XP, but all of the ...
    (sci.electronics.design)
  • Re: D.E Star Wars Rust-Bucket Edition
    ... This one came from Taiwan. ... I went the route of replacing as many parts as I ... could find and saving what I couldn't find best I could. ...
    (rec.games.pinball)