473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

name conventions for pure ABCs

I'm curious if other programmer use special
name conventions for interface classes in
their projects.
In a line like the following

class A : public XXX_IF, public YYY_IF {

I can see that multiple inheritance is on
the agenda but at the same time I see:
Ok, class A only implements the interfaces.

I think the line

class A : public XXX, public YYY {

would be not so clear.
Jul 23 '05 #1
1 1149
gelbeiche wrote:
I'm curious if other programmer use special
name conventions for interface classes in
their projects.
In a line like the following

class A : public XXX_IF, public YYY_IF {

I can see that multiple inheritance is on
the agenda but at the same time I see:
Ok, class A only implements the interfaces.

I think the line

class A : public XXX, public YYY {

would be not so clear.


We don't use special conventions. We use comments.

// merging two abstract classes into another
class A : public XXX, public YYY {
...

And, of course, we don't have names like 'A' or 'XXX' or 'YYY'...

V
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: vegetax | last post by:
in python it is common to see naming inconsistencies ,methods,modules,packages,classes with names in every posible style: thisisalongmethod ThisIsALongMethod thisIsALongMethod...
7
by: Mark P | last post by:
I working frequently with similar but distinct geometric objects. For example, a collection of Edge classes. All Edge classes should support certain basic functions, such as getTail(), getTip,...
6
by: Cecil | last post by:
It's blue in SQL Studio but I can't find it in SQL Books on-line. I wanted to use it as a field name but don't like using . Is it reserved?
0
by: Michael Bruzdzinski | last post by:
I am hoping that some one in the DB2 community is a 'pack rat' and has a copy of the article "The ABCs of Plans and Packages" by Nicola Nur, which was written in 1994. It appeared in the Database...
3
by: Ernesto Bascón | last post by:
Hi everybody: I have two questions: 1. I'm using opaque pointers in my classes to hide their data structures; there is a way to use opaque pointers in template classes; since the...
4
by: Paulo Matos | last post by:
Hi all, C++ FAQ Lite points you out to ABCs to define interfaces in C++, however, in a well-defined big system which may consist of a huge number of interfaces, the use of ABCs may incur in a...
2
by: Rahul | last post by:
Hi Everyone, It seems that pure virtual member functions can be defined in the abstract base class, but what is the need (or) use to do so? and how is it done? Thanks in advance!!!
4
by: jason.cipriani | last post by:
Does anybody know if C++0x is going to change C++ name mangling at all? Such as, standardizing name mangling instead of leaving it up to the compiler? Jason
5
by: Boris Borcic | last post by:
Given the ABC innovation, maybe an infix syntax for isinstance() would be good. Possibilities : - stealing "is" away from object identity. As a motivation, true use cases for testing object...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.