Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Random thoughts about Java
Message
De
28/03/1999 01:00:16
 
 
À
27/03/1999 13:22:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00202632
Message ID:
00202800
Vues:
42
>IMHO, this is a very good way to organize things in C++. The h file gives the interface of the class (btw, this is the declaration, not the definition in C++) and the cpp stores the actual implementation (this is the definition). Only the h files are used by other classes/programs. So, if only the implementation is changed, only that class needs to be recompiled.
>
>This makes things clear (because it clearly separates the interface from the implementation) for programmers and easier to understand. Java doesn't support header files, so, Java code is many times more difficult to follow.
>
>Vlad
>
>>With C++ the class definition must be in a header file, while the implimentation is in the CPP file. This can make it difficult to keep things organized.

I prefer the opposite. Programming always seems to come down to esthetics.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform