By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,755 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

Large and official coding standard

P: n/a
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?

Thanks in advance,
Arnaud
Feb 20 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Arnaud Carré wrote:
I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team
:-)
I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?
I would bet you can't find it. No company would publish their internal
document like that. The nature of the document doesn't matter. What
matters is that the document is not _supposed_ to be published. Just
consult with a lawyer, he/she will explain why it's so.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 20 '07 #2

P: n/a
On Feb 20, 8:52 am, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Arnaud Carré wrote:
I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team
:-)
I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.
Anyone have a good URL to a complete coding standard, used in a large
software firm?

I would bet you can't find it. No company would publish their internal
document like that. The nature of the document doesn't matter. What
matters is that the document is not _supposed_ to be published. Just
consult with a lawyer, he/she will explain why it's so.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Take a look at http://www.chris-lott.org/resources/...Standard..html

It does cover many aspects.

Regards,
Manish

Feb 20 '07 #3

P: n/a
Arnaud Carré a écrit :
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)
If the choice is more difficult to explain than to make then my guess is
that you don't make an informed choice ?

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.
There are many coding standard out there that fit the needs of specific
field of application or specific coding culture. The fact that it is
used by a large firm is not a proof of its validity for you.
Anyone have a good URL to a complete coding standard, used in a large
software firm?
No but you can have a look at the FAQ for guidelines:
http://www.parashift.com/c++-faq-lit...standards.html

It is a bit outdated but perhaps worth a look:
"Industrial Strength C++"
http://hem.passagen.se/erinyq/industrial/

Or there is:
"C++ Coding Standards" by Sutter and Alexandrescu

Michael
Feb 20 '07 #4

P: n/a
pasa_1 wrote:
On Feb 20, 8:52 am, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>Arnaud Carré wrote:
>>I guess you all know how difficult it is to choose a conding
standard. And even more difficult it is to explain the choice to
your dev team :-)
I'm looking for an "official" c++ coding standard of a large firm
such as Microsoft, Intel or any other like this. I "google" it but
I don't find any "ready to use" document.
>>Anyone have a good URL to a complete coding standard, used in a
large software firm?

I would bet you can't find it. No company would publish their
internal document like that. The nature of the document doesn't
matter. What matters is that the document is not _supposed_ to be
published. Just consult with a lawyer, he/she will explain why it's
so.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Take a look at
http://www.chris-lott.org/resources/...gStandard.html

It does cover many aspects.

Regards,
Manish
What company is this standard from? Intel? Microsoft? Adobe? IBM?
Sun Microsystems? Apple?
Feb 20 '07 #5

P: n/a
JLS
On Feb 20, 5:42 am, Arnaud Carré <a.ca...@darkworks.comwrote:
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?

Thanks in advance,
Arnaud
There is always the Ellemtel coding standards

http://membres.lycos.fr/pierret/cpp2.htm
Feb 20 '07 #6

P: n/a
In article <45***********************@news.free.fr>,
a.*****@darkworks.com says...
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?
Would you settle for "once in use"? The Taligent coding standard can be
found at:

http://pcroot.cern.ch/TaligentDocs/T...Root/1.0/Docs/
books/WM/WM_3.html

It's badly out of date (predates the C++ standard by 4 years or so), but
you seem more concerned about it being official than useful...

--
Later,
Jerry.

The universe is a figment of its own imagination.
Feb 21 '07 #7

P: n/a
* Arnaud Carré:
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?
Your best choice is to adopt the coding standard in Andrei Alexandrescu
and Herb Sutter's "C++ Coding Standards", /and/ hand out a copy of that
book to every project member and yourself.

Not everything may be suitable directly as-is, but if you're going to
just choose a standard that's guaranteed to at least be reasonable and
made by knowledgable, technically competent folks, the above is it.

You should perhaps also hand out a copy of a good general anti-pattern
book to every project member and yourself. Since you're searching for
coding standards an anti-pattern book, plus e.g. discussions of concrete
anti-patterns encountered and how to fix them (considering available
resources) is probably an even better device for improving code and
design quality. See <url: http://en.wikipedia.org/wiki/Anti-pattern>.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Feb 21 '07 #8

P: n/a
On Feb 20, 12:42 pm, Arnaud Carré <a.ca...@darkworks.comwrote:
Hi all,

I guess you all know how difficult it is to choose a conding standard.
And even more difficult it is to explain the choice to your dev team :-)

I'm looking for an "official" c++ coding standard of a large firm such
as Microsoft, Intel or any other like this. I "google" it but I don't
find any "ready to use" document.

Anyone have a good URL to a complete coding standard, used in a large
software firm?

Thanks in advance,
Arnaud
from Stroustrups' home page a project that he wrote the coding
standard -
http://www.research.att.com/~bs/bs_f...oding-standard
personally I think that the less is better. I've been involved in
writing the coding standard for a very large scale project and we end
it with 2 pages of text. We never had any problem with that even tough
most programmer who were involved in it changed over the course of the
project, we ended with very consistent coding style.

Feb 21 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.