TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Nhan Tran
from: David Nugent
date: 1994-12-09 09:56:28
subject: Fopen Fclose Fread Fwrit

> Someone started the thread by complaining about there are
 > too many "competent" C++ programmers who are using C++ to
 > write C code, and have very little or no understanding of
 > the object oriented paradigm.

Indeed. :-(  As moderator of C_PLUSPLUS, this is a battle I wage constantly
("straight  C" topics are regarded as off-topic since that's
already covered in C_ECHO). It seems most of the newbies don't even
understand the difference, let alone know what "object oriented"
means, other than it having "something to do with classes" (which
is incorrect in itself anyway). sigh.


 > This was (not any more ) my concern when MS and Borland started
 > bundling the two compilers in one package a few years back. I have seen
 > too many messages which clearly indicated that the posters did not know
 > the differences between C and C++ 

Get 'em all the time in C_PLUSPLUS. It's part of the FAQ.

 > PLEASE don't be offended). Personally, I think that they are two
 > completely different languages and should be treated as such.

Absolutely.

If you're going to use the OOP paradym, you need to go all the way. You're
just adding bulk if you start mixing the two. Mixing stdio C and iostreams
is usually unsupported anyway.

Sorry, it's probably the purist in me speaking, but I feel fairly strongly
about this. Most C++ newbies complain about how much C++ adds to the size
of their executable, and most of them don't realise why - half the time it
is their own coding style, and using C++ "like a C compiler"  can
definitely have that effect. How can you expect to reuse code unless you
use inheritence, for example?

---

* Origin: Unique Computing, Melbourne, Australia (3:632/348)
SEEN-BY: 50/99 54/54 620/243 623/630 624/50 632/103 301 348 386 998 633/371
SEEN-BY: 633/379 634/384 635/301 502 503 541 544 636/100 639/100 711/401 409
SEEN-BY: 711/410 430 510 807 808 809 932 934 942 712/623 713/888 714/906
SEEN-BY: 800/1
@PATH: 632/103 348 635/503 50/99 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.