This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article contains a pro and con list. Please help rewriting it into consolidated sections based on topics. (July 2013) The neutrality of this article is disputed. Relevant discussion may be found on the talk page. Please do not remove this message until conditions to do so are met. (July 2013) (Learn how and when to remove this message) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Cowboy coding" – news · newspapers · books · scholar · JSTOR (January 2011) (Learn how and when to remove this message) This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed. (January 2011) (Learn how and when to remove this message) The examples and perspective in this article may not represent a worldwide view of the subject. You may improve this article, discuss the issue on the talk page, or create a new article, as appropriate. (January 2011) (Learn how and when to remove this message) (Learn how and when to remove this message)

Cowboy coding is software development where programmers have autonomy over the development process. This includes control of the project's schedule, languages, algorithms, tools, frameworks and coding style. Typically, little to no coordination exists with other developers or stakeholders.

A cowboy coder can be a lone developer or part of a group of developers working with minimal process or discipline.[1] Usually it occurs when there is little participation by business users, or fanned by management that controls only non-development aspects of the project, such as the broad targets, timelines, scope, and visuals (the "what", but not the "how").[citation needed]

"Cowboy coding" commonly sees usage as a derogatory term when contrasted with more structured software development methodologies.

Disadvantages

In cowboy coding, the lack of formal software project management methodologies may be indicative (though not necessarily) of a project's small size or experimental nature.[2] Software projects with these attributes may exhibit:

Lack of release structure

Lack of estimation or implementation planning might cause a project to be delayed. Sudden deadlines or pushes to release software may encourage the use of "quick and dirty" techniques that will require further attention later.[3]

Inexperienced developers

Cowboy coding can be common at the hobbyist or student level where developers might initially be unfamiliar with the technologies, such as testing, version control and/or build tools, usually more than just the basic coding a software project requires.

This can result in underestimating time required for learning, causing delays in the development process. Inexperience might also lead to disregard of accepted standards, making the project source difficult to read or causing conflicts between the semantics of the language constructs and the result of their output.[4]

Uncertain design requirements

Custom software applications, even when using a proven development cycle, can experience problems with the client concerning requirements. Cowboy coding can accentuate this problem by not scaling the requirements to a reasonable timeline, and might result in unused or unusable components being created before the project is finished. Similarly, projects with less tangible clients (often experimental projects, see independent game development) could begin with code and never a formal analysis of the design requirements. Lack of design analysis could lead to incorrect or insufficient technology choices, possibly requiring the developer to port or rewrite their software in order for the project to be completed.

Incompleteness

Many software development models, such as Extreme Programming, use an incremental approach which stresses that the software must be releasable at the end of each iteration. Non-managed projects may have few unit tests or working iterations, leaving an incomplete project unusable. As such, agile methodologies have been compared to cowboy coding but agile has formal processes, procedures, measurement, project management and other oversight while cowboy coding has none of this.[5][6]

Advantages

See also

References

  1. ^ Scott, Welker. "cowboy coding". searchsoftwarequality. TechTarget. Retrieved March 2, 2022.
  2. ^ Hughes, Bob and Cotterell, Mike (2006). Software Project Management, pp.283-289. McGraw Hill Education, Berkshire. ISBN 0-07-710989-9
  3. ^ "In Defense of Waterfall: Deconstructing the Agile Manifesto" (PDF). Retrieved February 1, 2016.
  4. ^ "StickyMinds - STAREAST 2000: Confessions of a (Recovering) Coding Cowboy". StickyMinds. Retrieved February 2, 2016.
  5. ^ "Exploring Agile Development". Pragmatic Software Newsletter.
  6. ^ "StickyMinds - Don't Just Break Software. Make Software". StickyMinds. Retrieved February 2, 2016.
  7. ^ K, Alex. "Google's '20 percent time' in action", Official Google Blog, May 18, 2006