Re: Why no language improvements?

From: Nick Hodges [TeamB] (nickhodges_at_gmail.com)
Date: 03/08/05


Date: 8 Mar 2005 12:21:35 -0800

Mike Margerum wrote:

+AD4- Great. Show me the code for a stack based object that contains a
+AD4- string and a TList as members. then show me the code where you
add
+AD4- it to a TList.

Off the top of my head:

type
  MikeDeal +AD0- record
    SomeString: String+ADs-
    SomeList: TList+ADs-
    constructor Create+ADs-
  end+ADs-

constructor MikeDeal.Create+ADs-
begin
  SomeList :+AD0- TList.Create
end+ADs-

var
  AnotherList: TList+ADs-

begin
  AnotherList :+AD0- TList.Create+ADs-
  AnotherList.Add(MikeDeal.Create)+ADs-
end+ADs-

+AD4- your starting to look silly here. stop grasping.

I'm graspin? Huh? You claim that Delphi doesn't have stack-based
objects. I show that they do. There is nothing +ACI-grasping+ACI-
about correcting errors with facts. You got it wrong, and your
response is to accuse me of +ACI-grasping+ACI-. That's pretty silly.

+AD4- no, it means its not there. its not in the win32 compiler. how
much
+AD4- more clear do i have to be?

Well, if you want to be understood, you are going to have to be a lot
clearer. Your claim was that Delphi isn't evolving. Now you appear to
me to be trying to save some face by arguing that you meant the Win32
compiler all along. So, you need to be a lot clearer. I'd suggest by
starting with making your claims more clear. If you want to claim that
the /Win32/ compiler doesn't have stack based objects, they you
probably ought to say that. You didn't say that, and now you are
trying to make it look like my fault that I can't read your mind.

And for the record, Win32 does have stack-based objects.

+AD4- You dont know what a copy constructor is yet you feel compelled to
+AD4- argue with people on this thread about what is and isnt in C and
how
+AD4- it has evolved? pot kettle black.

I fail to see how I need to know what a copy constructor is. Are you
saying that copy constructors have been added to the language in the
last decade or so? Are copy constructors an example of the evolution
of C/C+-+-? My guess is that they've been around for that whole time.
Am I wrong?

+AD4- If these deprecated objects are so great. why are the
+ACI-deprecated+ACI-?

That question doesn't really clear up my confusion about your utterly
contradictory statements, but I'll answer: I didn't say they were
great, I said they were stack based objects, which they are. They are
deprecated because they don't meet the requirements of the CLS.

+AD4- and you use them all the time because they are so nice. right?

I use stack-based objects quite frequently, yes. I was working on one
this morning, in fact.

+AD4- Ridiculous. Now you are just being argumentative. I think im
done
+AD4- wasting my time with you nick.

I agree that it has been a waste of your time in trying to argue what
you've been arguing.

-- 
Nick Hodges -- TeamB
Lemanix Corporation -- http://www.lemanix.com
Read my Blog -- http://www.lemanix.com/nick


Relevant Pages

  • Re: Do buffers always start with the lowest memory address being the first element?
    ... > The C standard does not assume a downward-growing stack, ... > an upward-growing stack. ... C allows but does not require that the array produced ... > machine depends on both the C compiler and the machine. ...
    (comp.lang.c)
  • Re: switch statement, was compiler, status...
    ... Primary Register, Secondary Register, ... Stack, and abit of storage does it. ... This version of Small-C is copyrighted as a revision to Ron Cain's ... Croatia) is "Calculator Compiler" by Senko Rasik. ...
    (alt.lang.asm)
  • Re: subroutine stack and C machine model
    ... On a typical system the stack on entry to the function looks like this ... balance to specify the order of evaluation). ... compiler developer to find out when code can be moved around. ... I think the Standards people used compiler optimization as an excuse ...
    (comp.lang.c)
  • Re: back online again...
    ... really "acceptable") convention. ... stack machine, but the design ... target with my compiler (may need a different name for this though, ... most of this code is not likely to ever go to object files anyways... ...
    (alt.lang.asm)
  • Re: Partial string loss with sprintf/strcat
    ... As already suggested collecting information about the ... The stack and heap size ... A good suggestion but it's been years since I inspected assembler level ... compiler" that compiles to EM byte-code. ...
    (comp.lang.c)