This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where is String class?


On Fri, 23 Apr 1999, Ildar Mulyukov wrote:

Afternoon Comrade Tovarisch, 

> Another thing that MFC CString provides is direct access to its buffer.

<RANT>The biggest reason why I loathe and despise MFC is the gross acts of
subversion/sedition that Micro$hit has inflicted on an otherwise excellent
C++ application framework is that they allow you to access the class's
members from other classes. There is a proverb in C++: "Thou shalt not
expose your member." Allowing access to data structures is worse than
using globals in your code. It defeats the purpose of using C++'s superior
features and probably explains why Micro$hit software are so buggy.  
</RANT>

<RANT>When I expect to use a class, I don't what to know how it works, I
want it to do what it's supposed to do and make it easier for me to
replace the class with an upgraded class in the future. Relying on access
to data structures that really shouldn't be public is asking for trouble
IHMO, especially when you consider that we all might be using UNICODE
instead of ASCII for strings in the 21st century. </RANT>

<RANT>So to sum up... FUCK MFC! And whoever designed and wrote the MFC
framework should have been shot at dawn</RANT> 8-) My apologies for my
rant, needed to get this off my chest after a particularly horredenous
week winkling out stupid problems like this with the MFC-based project at
work.

Nazdorazyie, (I hope I spelled that right)
Alex
--
"A mind opened by new ideas cannot return to its original limits"

http://www.tahallah.demon.co.uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]