Re: advantages of C

From: Willem (willem_at_stack.nl)
Date: 01/22/04


Date: Wed, 21 Jan 2004 23:36:27 +0000 (UTC)

Corey wrote:
) Only if you're using a debugger that doesn't understand about name
) mangling. But gdb handles gnu C++ name mangling these days, doesn't it?

I guess. This was waybackwhen.

) Besides, an IDE is a much more friendly debugging interface. There are
) plenty of free ones around, so no reason I can see not to use one...

I only seem to get RSI from mousing, and not from keyboarding (except
games, that is), so that's a reasonably good reason.. :-)

) Yes, member hiding makes such tricks irrelevant. But more importantly
) inheritence allows for abstract interfaces, which achieve the above and
) so much more.

Weren't we discussing the benefits of C++ over C *besides* classes ?
I started out with the comment that classes were just about the only good
thing about C++.

) To emulate 'new' in C you basically have to create a builder function
) for each object type and each 'constructor' form. It's doable, but not
) what I would consider pretty.

Classes again. :)

SaSW, Willem

-- 
Disclaimer: I am in no way responsible for any of the statements
            made in the above text. For all I know I might be
            drugged or something..
            No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT


Relevant Pages

  • Re: advantages of C
    ... Only if you're using a debugger that doesn't understand about name ... But gdb handles gnu C++ name mangling these days, ...
    (comp.programming)
  • Re: real random
    ... The reason is because there is no way to keep the ... debugger out of a mainstream system -- i.e., ... By not showing the process that generates numbers? ...
    (comp.lang.c)
  • Re: 64-bit c++ application crashing on solaris
    ... The very first question you should ask is where exactly is it ... Use debugger to find out. ... You have not presented any reason why you'd think that. ... Ian Collins. ...
    (comp.unix.programmer)
  • Re: kbdmux vs ATA? (was: ATA related panic during ZFS scrub)
    ... I guess the policy was to not pick up any locks while in the debugger. ... The reason for the second rule should be obvious, but the reason for the first rule is less obvious: it's called during the boot in all kinds of sensitive places as a result of calls to printf, so has to be willing to run under the most sticky of circumstances. ...
    (freebsd-current)
  • Re: Module level breakpoint filtering
    ... reason that the target DLL does not necessarily have to call this routine ... Another way how this DLL can work fine without a debugger is by ...
    (microsoft.public.win32.programmer.kernel)