Computer Chess Club Archives


Search

Terms

Messages

Subject: Off-topic: Re: TSCP, Visual c++ and MFC

Author: Dave Gomboc

Date: 14:36:50 02/27/00

Go up one level in this thread


On February 27, 2000 at 15:43:06, Tom Kerrigan wrote:

>On February 27, 2000 at 14:43:59, James Swafford wrote:
>
>>Please elaborate, Tom.  As I recall, you don't like C++ either,
>>right?  Do you recommend using direct API calls, or staying away
>>from Windows GUI programming all together?
>
>I don't have a big problem with OO itself. I just have a problem with
>"programmers" who think that OO is the be-all and end-all of programming.

MFC is _widely_ criticized for being a poor OO encapsulation of the Win32 API.
Even Stroustrup disses it (not by name) in C++PL v3.  It's a defacto standard,
though, so people are pretty much stuck with it.

>I think that calling the Win32 API functions directly is perfectly reasonable.
>It's not like they're "low level" calls written in a bizarre foreign language.
>They're functions that are intended for use by other people. They're pretty easy
>to use and they're well documented. I don't understand why anybody would want a
>wrapper for them.

There are actually plenty of good reasons, none of which I intend to get into
here. :-)

Dave



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.