MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

BIOS-D
MAME Fan
Reged: 08/07/06
Posts: 1688
Send PM
Re: C versus C++ with regard to MAME
07/05/11 12:26 PM


> > the dogmatic, narrow view of regular C programmers.
>
> There are benefits to C++ even for the casual programmer or for the new student to
> the language. But I cannot see any benefits for the professional or the serious
> student.
>
> I studied C in college and found it difficult at first, then as I progressed, the
> language taught me how to be more methodical, focused and structured in my
> programming tasks.
>
> Roll on five years later when I went back to college and studied C++ and was baffled
> yet again on it's use. Luckily I was able resort to standard C to finish the course,
> due to the constraints imposed by C++ at the time (i.e. poor exception handling).
> Even my lecturers advised resorting to C to resolve the problems experienced with
> C++.
>
> Now exploring the OOP part of college with C#, it amazes me why coders are so lazy
> today, true we are all standing on the shoulders of giants but lazy giants at that.
>
> Granted I am not a Jedi C coder by any wide margin, but it is clear where the bloat
> comes from. If not the coder but from the language. We can argue Moore's two laws,
> but it irks me to think that it should be an excuse for bloat.
>
> I think C therefore I code C should be maintained, and all these other derivatives of
> C should be ignored.
>
> If MAME reverted back to C, I'm sure there would be less bloat and more efficiency
> without having resort to Moore's poor excuse, as I have seen it so many times, posted
> here.
>
> IMHO.

I think you're just sorry because you couldn't set everything as global variables to solve your problems. :P At least that's what most C# programmers use to call a constraint. The good code is not made by the language you use (though it helps) but the programmer.

Now you will tell us everyone should still use assembler to speed up emulation after year 2000. Good luck maintaining code through SVN like that.







Entire thread
Subject Posted by Posted on
* C versus C++ with regard to MAME mogli 07/04/11 07:09 PM
. * Re: C versus C++ with regard to MAME byuu  07/06/11 12:14 AM
. * Re: C versus C++ with regard to MAME AeroCityMayor  07/05/11 05:44 PM
. * Re: C versus C++ with regard to MAME mogli  07/06/11 06:56 AM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 06:05 AM
. * Re: C versus C++ with regard to MAME byuu  07/06/11 12:20 AM
. * Re: C versus C++ with regard to MAME Bryan Ischo  07/06/11 06:52 AM
. * Re: C versus C++ with regard to MAME italieAdministrator  07/06/11 02:43 AM
. * Re: C versus C++ with regard to MAME italieAdministrator  07/04/11 11:57 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/04/11 10:54 PM
. * Re: C versus C++ with regard to MAME TafoidAdministrator  07/04/11 11:09 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 10:17 AM
. * Re: C versus C++ with regard to MAME BIOS-D  07/05/11 12:26 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 03:25 PM
. * Re: C versus C++ with regard to MAME Olivier Galibert  07/05/11 10:27 AM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 11:52 AM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 02:29 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 03:42 PM
. * Re: C versus C++ with regard to MAME Heihachi_73  07/06/11 04:44 AM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 04:13 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 04:39 PM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 04:45 PM
. * Re: C versus C++ with regard to MAME TheGuru  07/05/11 11:25 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 05:39 PM
. * Re: C versus C++ with regard to MAME zambr  07/06/11 06:12 AM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 06:07 PM
. * Re: C versus C++ with regard to MAME byuu  07/06/11 01:00 AM
. * Re: C versus C++ with regard to MAME Bryan Ischo  07/06/11 01:36 AM
. * Re: C versus C++ with regard to MAME Bryan Ischo  07/05/11 06:51 PM
. * Re: C versus C++ with regard to MAME Olivier Galibert  07/05/11 06:03 PM
. * Re: C versus C++ with regard to MAME Anonymous  07/05/11 07:18 PM
. * Re: C versus C++ with regard to MAME Olivier Galibert  07/06/11 08:38 AM
. * Re: C versus C++ with regard to MAME R. Belmont  07/05/11 07:34 PM
. * Re: C versus C++ with regard to MAME lharms  07/06/11 04:03 AM
. * Re: C versus C++ with regard to MAME CrapBoardSoftware  07/04/11 10:16 PM
. * Re: C versus C++ with regard to MAME Roman  07/04/11 11:02 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 228 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3745