Talk:Best coding practices

From Wikipedia, the free encyclopedia
  (Redirected from Talk:Best Coding Practices)
Jump to: navigation, search
WikiProject Computing / Software / CompSci / Security (Rated C-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (marked as High-importance).
Taskforce icon
This article is supported by WikiProject Computer science (marked as Mid-importance).
Taskforce icon
This article is supported by WikiProject Computer Security (marked as Low-importance).

Old comment[edit]

The article is full of sweeping generalizations, non-sequturs, and contoversial advice presented as fact. It is amusing that it is accidentally correct in saying that the practices described have "incredible" (i.e not credible) value.

This page gets into lifecycle, requirements, etc. best practices. But the title is *Coding* best practices.

Also, many of the best practices listed for requirements, architecture, etc. aren't necessarily best practices. For example, Extreme Programming disagrees with them, yet is a very valid methodology. DRogers 17:11, 12 September 2006 (UTC)

Criticism of Article content and tone.[edit]

As an informative article, I feel the article's casual and possibly lecturing tone detriments from the value or emphasis of the article. In certain places, (e.g a quick Google search will turn up...) the information source is vaguely hinted at.

As such, the article fails to

1. give a reasonably complete overall picture of coding conventions, 
2. link users to related topics, 
3. introduce them to related keywords and categories for the people looking for more in-depth information.

I feel that the format given below is more suited for

The format: Meaning of 'Best coding Practices', what do they refer to, not refer to.

What are the categories/conventions which are generally accepted as BCP?

No one set of practises. Situation specific.
Brief discussion of possible aims - ease and speed of development, less bugs, speed, stability, portability etc,
and how compromises are made on the priority of aims.
 Based on Language - General and specific coding conventions e.g. hungarian notation, 
 Based on desired results, who the end-user is, what his requirements are.

How does this translate into an approach at each level, e.g.

pre- and post- contracts for writing a procedural function, 
OOP based class-design, 
Design Patterns for local class-interactions, 
Modular approaches (Test driven development)
Implementational approaches (extreme programming)

Discussion of studies/recommendations/preferences of eminent figures in the industry.

Peer Review[edit]

Article seems to suggest that Peer Review means looking at other people's code to see what's the best way to do things. That's not what peer review means at all. Rather it means having other people look at your work, to identify any problems in your own code. --duncan (talk) 09:48, 10 February 2009 (UTC)

Unclear article[edit]

This article is in serious need of a cleanup. As it stands, it is incomplete, suggestive and even misleading. I'd almost prefer it to be deleted as it requires complete rewrite anyway. -- mafutrct (talk) 13:57, 11 November 2009 (UTC)


This article is badly written and off topic. I was looking for a conclustion to coding dilema myself but will have a go at rewriting this article instead.

The title "Coding Practices" would be more appropriate with a section on "Best coding practices".

This article currently seems to be a vague, inaccurate, inexperienced and personal view on project development.

This article should really be covering the use of comments and layouts in code, naming convention of variables, methods etc, use of switches/ifs, the differences these changes have in a range of languages and the choices to be made based on the situation in hand. SkeaterMedia (talk) 07:16, 22 April 2010 (UTC)

The article contains no mention of logging or use of libraries, both of which I consider crucial coding practices. Bartonski (talk) 06:20, 1 January 2013 (UTC)


I have started rewriting this article, taking note of the various criticisms mentioned above. I fully intend to include lots of inline references.

Please check my work, add more references, etc. as I progress. Murray Langton (talk) 19:24, 30 October 2013 (UTC)

Well, some progress has been made:
  • Rearrangement of topics to provide a more logical grouping.
  • Rewrite of first two sections (Software quality, Prerequisites), with a fair number of quotes and inline references.
The remaining sections have still to be considered. Any suggestions for this or for sections not yet mentioned are welcome. Murray Langton (talk) 22:30, 7 November 2013 (UTC)


This article is a farce. It just needs to be deleted, not rewritten. There's absolutely no need for an article entitled "best coding practices" in an encyclopedia. Even the title is a joke. Please delete this embarrasment of an article. — Preceding unsigned comment added by (talk) 17:23, 5 February 2014 (UTC)

Somewhat agree, there no new ideas. There too many outside links. Also there better written and maintained page on almost same topic: Software quality Ushkin N (talk) 07:38, 23 May 2016 (UTC)


There is no discussion of the use of assertions. Assertions are a really useful tool to help debug programs. For example, at the JPL, one of their coding rules is that a certain percentage of the lines of code (I think about 8%) have to be assertions. It's easy to find a reference for that. — Preceding unsigned comment added by 2601:280:4201:D47F:D45E:D915:C74:3BF2 (talk) 17:06, 18 August 2015 (UTC)

version control?[edit]

is it appropriate to mention version control here? — Preceding unsigned comment added by 2605:E000:308B:1E00:CC09:4A50:74D5:AAA3 (talk) 07:49, 30 June 2016 (UTC)

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Best coding practices. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

You may set the |checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting |needhelp= to your help request.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

If you are unable to use these tools, you may set |needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.

Cheers.—InternetArchiveBot (Report bug) 23:35, 18 July 2017 (UTC)