Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7079485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:40:41+00:00 2026-05-28T06:40:41+00:00

I am writing a class where the name starts with an I (because that’s

  • 0

I am writing a class where the name starts with an I (because that’s the name of the product we’re integrating with – can’t change).

Convention states that class names have a capital letter to start, however in this case it would appear to the consumer as an interface.

Is there any documentation guiding developers on the correct approach here? In addition what happens if I do need to implement and interface – should it be IiProduct/IIProduct?

Edited to Add:

I can’t mention the product for obvious reasons but it follows the same capitalisation convention as apple. iPhone, therefore IPhoneClass (follows their branding but appears as an interface) rather than IphoneClass (which follows convention rather than branding).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:40:41+00:00Added an answer on May 28, 2026 at 6:40 am

    If the product name is for example iPhone, then in that case I would call the classIphone to keep class naming consistent. The interface would be IIphone, which doesn’t look great, but is clear in its meaning (as it follows convention).

    I’m sure people using the class would be more upset if they thought it was an interface, than if it wasn’t capitalized as the product is to follow convention.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a C++ class for a book that contains a name: class Book
I'm writing a counter class which doesn't have a nice name yet. It counts
Scala programmer should have known that this sort of writing : class Person{ var
I am writing a class that I know that needs a lock, because the
I'm writing a class in C++ that I cannot debug by using F5. The
I am writing a class in Python 2.6.2 that contains a lookup table. Most
I'm writing a class that returns both a DataTable and a IEnumerable. I cannot
I am writing a piece of code where I have one class A and
I have a legacy client that is writing messages to a queue (MSMQ). I
I tried writing this class #include <memory> class ContainerUnique { public: ContainerUnique(void); ~ContainerUnique(void); private:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.