Welcome, Guest. Please login or register.

Author Topic: Anti C++ sentiment?  (Read 30147 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show all replies
Re: Anti C++ sentiment?
« on: January 25, 2003, 03:13:04 PM »
i love C++!

Quote
What is behind the phobic reaction or am I seeing more there than I need to?

probably the steep learning curve.
possibly also the feer it might be less efficient than C, i once thought that until i read some book on c++ efficiency or a c++ faq or somthing, could be because of its seemingly highrachical design
perhaps also people arent used to thinking OO, procedual is easy, but for some OO is bit daugnting?

in relation to the amiga, i feel that i dont use C++ so often because there is no native amigaos support for it, if there was somthing a bit more like borland C++ builder, i would definently use it more!
amigaos includes etc... need to be re-done in a C++ OOP way... that would definently get more support
 :-)
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show all replies
Re: Anti C++ sentiment?
« Reply #1 on: January 25, 2003, 03:44:32 PM »
Quote
Anyway the first AmigaBOOK for publication is ready and we are submitting it to Addison Wesley Monday!

what, an actual hardcopy book!
wow! if i found a NEW amiga specific programming book i would probably buy it immediatly!
especialy if it were about C++ on the amiga!
 :-D  :-D  :-D  :-D  :-D  :-)  :-)  :-)
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show all replies
Re: Anti C++ sentiment?
« Reply #2 on: January 25, 2003, 03:53:38 PM »
Quote

DaveP wrote:
Well they have to send it to a "reader" first, then do sample manuscripts for checking by us but yes, the idea has been accepted in principle.

Keep your fingers crossed for us! If publishing doesn't happen then it will be available in free PDF,
BookManager, PS and HTML form on AmigaBooks.


i hope they do publish it! i have all the ARKRMS 3rd edition, + some of the 2nd edition! now i need some decent documentation for all the new features

what exactly will be covered in the book?
how in depth will the amiga stuff be?
what libraries/devices?
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show all replies
Re: Anti C++ sentiment?
« Reply #3 on: January 26, 2003, 03:24:06 AM »
@EntilZha

Quote
The way C++ handles OO (i.e. structures with data and functions in one entity) is really more of a procedural approach than an OO approach.. That's why I think C++ is in fact relatively easy to learn when you know C...

i think you may be a bit confused as to what OOP is all about?
data and methods put together, called a class, is probably the main advantage of OO, you cant have and OO language without classes & objects!
java is just another OOP language that also has classes and objects
that is what OOP is all about!
Quote
The problem with C++ in the system is that it can't be done without locking out other languages, i.e. if you have a C++ interface, you can't use it from C without troubles..

what i acctually mean, is that you could have both c++ & C includes, the C ones would form the basis for includes for other programming languages
Quote
Plus, you have the non-standardized way that name mangling and object layout is handled...

?
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show all replies
Re: Anti C++ sentiment?
« Reply #4 on: February 12, 2003, 06:00:05 PM »
@Mr_Capehill
Quote
In the eyes of a beginner C++ looks scary (as a novice, I know that :). Lots of complex structures etc, namespaces, constructors, pointers, polymorphism etc. It doesn't look very nice and clean, no wonder since it was originally extended from C.

pointers are in C too! didnt you know that?
+ structures can be complex in c

it might not look 'nice & clean' to a begginer, but i would say it looks ok to me

being extended from C is one of C++'s best features!

Quote
But the point is that C is an old language missing many features, and C++ is very important language these days (with Java). Maybe this could be taken into account with the new developer material?

its an old language, but what features is it missing?
apart from OOP?

C AND C++ are both very good languages, and very general purpose, these two languages should last for decades and allways stay strong no matter what 'fad' languages there are out there