SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
Documentation in programming

The Independence Day began in the most thought provoking way for the members of
Kolkata IT Professionals group. Yet another pertinent issue was raised by Aninda Das,
which most of the programmers often overlook – not intentionally, but due to huge
work pressure, lesser time at hand and crisis of resource.

‚What is the importance of documentation in programming? I know many developers;
start-ups/SMEs skip this process. May be they do not have the bandwidth or the client
does not emphasize much on it. BUT the documentation is critical. Let us discuss the
relevance of documentation. After all ‚Ink is better than the best memory‛ – Chinese
proverb‛, is what Aninda posted to stimulate the IT professionals to share their views,
experience and knowledge.

Quoting from a blog that Bibhas follows he said, ‚No matter how wonderful your
library is and how intelligent its design, if you're the only one who understands it, it
doesn't do any good‛.

Ulhas sharing his thoughts said, ‚Documentation is required big time in programming
for the developers themselves as we go on coding and at times we are not able to
recognize what we coded if the code gets a bit older‛. He also added that he follows a
certain methodology of documentation, which he himself created. ‚I do try to make the
documentations as in comments in the scripts itself‛. The biggest problem faced by
most of the programmers is time crunch to meet the deadlines. Ulhas cited added a
practical scenario which can’t be looked down up on. ‚The clients comes to the context
they are hardly interested in the documentations for the programming instead they
want the documentation for "HOW TO USE THE FINAL PRODUCT?" as in training
themselves as well as their employees‛.

Prashant feels that every standard software development processes must follow
documentation. He also mentioned, ‚The output of many phases of software
development is often a document‛. A few examples of which can be Implementation
Plan, SRS/FRD, Design Document, Test Plan and Test Cases, and End User
Documentation. Sharing some further insights to program documentation he added,
‚Fellow coders who require to understand the code for maintenance/enhancement,
plug-in developers who require API documentation. Programmers themselves often
require design documents. There are automated tools like Doxygen which make
documentation easy and not too much of a strain on programmers. But a certain
discipline in the software development process is needed, otherwise programmers tend
to ignore this critical aspect‛.
Arjun not agreeing completely to this process feels, ‚there are different paradigm when
it's comes to developer/spec documentation which does not insist on traditional
documentation‛. Scrum/Agile/Lean can be some perfect examples of the same which
puts more emphasis ‚on the concept of "code-as-comment" and spec documentation via
RSpec/Cucumber StoryBoard scenarios which acts as user-acceptance documentation as
well as executable spec code!‛ documentation is different for developers, PM/Delivery
Managers, Testing Groups, Marketing/Clients, and users. ‚But all these are essential
types of documents which are to be created in different ways as target is different and
so is its use and requirement! This has to be clearly understood!‛ he concluded.

Better codes for Rishav is better documentation. ‚I reject commits from my developers if
the code is not self explanatory. Writing tests is an awesome way of having
documentation. We do the tests thing all the time. Simple example – there are better
ways of hard-coding regular expressions into your code. Regexes are self explanatory.
Use a method instead simple and easy to read. As far as other types of documentation
are concerned architecture diagrams, spec docs and bug trackers are necessary‛. The
programmers need to document every feature in as much detail as possible.

Anupam harped up on the importance of documentation. He stated, ‚Documentation is
where your works starts. After that comes the very important part - the data flow
diagram and the database structure!!! As we all know programming is all about the
flow of data! Then comes the UI wire frames. Finally what I think we should create
another final doc. with everything put into right place before getting into code!‛

The waterfall model of documentation, Arjun added, is slowly getting abandoned. ‚The
days of bulky SRS or class diagram or HLD or LLD are going away fast!‛ He further
suggested to gather knowledge on, ‚’Agile’ especially ‘Scrum methodology’, ‘Lean
methodology’ & ‘Kanban’.

According to Priyankar, ‚Coding without documentation is like getting married in the
temple without getting it registered‛.

Mukesh further shared his personal reasons for which he follows documentation. With
three very practical yet simple examples he explained this further: ‚1. Collaborative
development -- there is always a need for X to help Y debug his/her code.
2. Maintenance -- you have written the smartest of code and you are done with
development. You move to a new project, someone else wants to change a small piece
of code. If there is no documentation, a 5 min change could easily take 5 hours.
3. What if you get hit by a bus? You were in the middle of solving one of the most
complex problems, you went out to bring food, got hit by a bus. You had solved 80% of
the problem but now the new guy has to start afresh.‛

Debashis stated the obvious need for documentation. ‚Each time a particular section of
code is updated, documentation for the same is imperative. It helps in rollbacks if
necessary‛.

Documentation is important for others to understand your code. To make your code re-
usable you must document it thoroughly. ‚Gone are the days when one coded with the
intention to just make the product work, now if 40% effort goes to the actual coding
then the remaining must go on making it re-usable and well documented for future
use‛, said Rabimba.

Arun, who said is a ‚fan of quick references rather than elaborate notes‛ also added,
‚We need documentation on all the aspects of the software, pre-sales and post-sales‛.

To make a developer’s life easy Mukesh suggested, ‚Clean readable codes, good use of
variable names, and code refactoring‛.

The takeaways from the discussion are huge. Through the experience shared by several
industry experts gave us some key factors of ‚What is the importance of documentation
in programming‛:
1. The phases of software development documentation are: Implementation Plan,
      SRS/FRD, Design Document, Test Plan and Test Cases, and End User
      Documentation

   2. To recognize what we coded, if the code gets a bit older

   3. Documentation is necessary for, Programmers themselves often require design
      documents.

   4. Automated tools like Doxygen make documentation easy

   5. Scrum/Agile/Lean are different paradigm of developer/spec documentation

   6. For user-acceptance documentation as well as executable spec code spec
      documentation via RSpec/Cucumber StoryBoard scenarios can be followed

   7. Documentation makes your code simple and easy to read

   8. Learning ’Agile’ especially ‘Scrum methodology’, ‘Lean methodology’ &
      ‘Kanban’ are important for documentation these days

   9. Documentation offers immense support for maintenance

   10. Documentation is important for others to understand your code



Post Submitted by: Sumana Chakraborty, Creative Writer & Blogger

      Connect with us: Facebook: http://www.facebook.com/ITniketan , Twitter: @ITNiketan

Más contenido relacionado

La actualidad más candente

Facebookclone nct
Facebookclone nctFacebookclone nct
Facebookclone nctmarcuscfred
 
E-learning platform
E-learning platformE-learning platform
E-learning platformBharat Sabne
 
Salesforce App ideas
Salesforce App ideasSalesforce App ideas
Salesforce App ideasChris Fougere
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in IndiaEquiCorp Associates
 
Blockchain Smart Contract v5
Blockchain   Smart Contract v5Blockchain   Smart Contract v5
Blockchain Smart Contract v5MD SAQUIB KHAN
 
How To Become a Front End Developer? Front End Developer Career Path, Salary ...
How To Become a Front End Developer? Front End Developer Career Path, Salary ...How To Become a Front End Developer? Front End Developer Career Path, Salary ...
How To Become a Front End Developer? Front End Developer Career Path, Salary ...Edureka!
 
Online dictionaries
Online dictionariesOnline dictionaries
Online dictionariesPeter Beech
 
Microsoft Dynamics CRM presentation
Microsoft Dynamics CRM presentationMicrosoft Dynamics CRM presentation
Microsoft Dynamics CRM presentationzdainkeh1
 
Learning Management System- An Introduction
Learning Management System- An IntroductionLearning Management System- An Introduction
Learning Management System- An IntroductionKartik Swaminathan
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...Simplilearn
 

La actualidad más candente (14)

Facebookclone nct
Facebookclone nctFacebookclone nct
Facebookclone nct
 
E-learning platform
E-learning platformE-learning platform
E-learning platform
 
Salesforce App ideas
Salesforce App ideasSalesforce App ideas
Salesforce App ideas
 
Doing Business of Blockchain in India
Doing Business of Blockchain in IndiaDoing Business of Blockchain in India
Doing Business of Blockchain in India
 
Wiki powerpoint
Wiki powerpointWiki powerpoint
Wiki powerpoint
 
Online resources
Online resourcesOnline resources
Online resources
 
Internet forum
Internet forumInternet forum
Internet forum
 
Blockchain Smart Contract v5
Blockchain   Smart Contract v5Blockchain   Smart Contract v5
Blockchain Smart Contract v5
 
How To Become a Front End Developer? Front End Developer Career Path, Salary ...
How To Become a Front End Developer? Front End Developer Career Path, Salary ...How To Become a Front End Developer? Front End Developer Career Path, Salary ...
How To Become a Front End Developer? Front End Developer Career Path, Salary ...
 
Virtual Learning Environment
Virtual Learning EnvironmentVirtual Learning Environment
Virtual Learning Environment
 
Online dictionaries
Online dictionariesOnline dictionaries
Online dictionaries
 
Microsoft Dynamics CRM presentation
Microsoft Dynamics CRM presentationMicrosoft Dynamics CRM presentation
Microsoft Dynamics CRM presentation
 
Learning Management System- An Introduction
Learning Management System- An IntroductionLearning Management System- An Introduction
Learning Management System- An Introduction
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
 

Similar a Importance of Documentation for programmers

How to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software DeveloperHow to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software Developerjeetendra mandal
 
Technical writing training 2013 14 (2)
Technical writing training 2013 14 (2)Technical writing training 2013 14 (2)
Technical writing training 2013 14 (2)laxmi16101981
 
Property dealing , A .net project
Property dealing , A .net projectProperty dealing , A .net project
Property dealing , A .net projectAnjali Kamboj
 
API Workshop: Deep dive into code samples
API Workshop: Deep dive into code samplesAPI Workshop: Deep dive into code samples
API Workshop: Deep dive into code samplesTom Johnson
 
Agile Methodologies And Extreme Programming
Agile Methodologies And Extreme ProgrammingAgile Methodologies And Extreme Programming
Agile Methodologies And Extreme ProgrammingUtkarsh Khare
 
Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovSvetlin Nakov
 
Software Development Standard Operating Procedure
Software Development Standard Operating Procedure Software Development Standard Operating Procedure
Software Development Standard Operating Procedure rupeshchanchal
 
Agile Software Development
Agile Software DevelopmentAgile Software Development
Agile Software DevelopmentAhmet Bulut
 
Developers Nepal Meetup #4 Report
Developers Nepal Meetup #4 ReportDevelopers Nepal Meetup #4 Report
Developers Nepal Meetup #4 ReportPunit Jajodia
 
Professional project writing
Professional project writingProfessional project writing
Professional project writingjkmaster
 
How to become a great developer
How to become a great developerHow to become a great developer
How to become a great developerNetcetera
 
Agile software development
Agile software development Agile software development
Agile software development saurabh goel
 
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...Carlo Longino
 
Topic tdd-and-bdd b4usolution
Topic tdd-and-bdd b4usolutionTopic tdd-and-bdd b4usolution
Topic tdd-and-bdd b4usolutionHoa Le
 
WordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPressWordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPressmtoppa
 
Programming vs Coding: Unveiling The Key Differences
Programming vs Coding: Unveiling The Key DifferencesProgramming vs Coding: Unveiling The Key Differences
Programming vs Coding: Unveiling The Key DifferencesFredReynolds2
 
Cs121 Unit Test
Cs121 Unit TestCs121 Unit Test
Cs121 Unit TestJill Bell
 
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovixapidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovixapidays
 

Similar a Importance of Documentation for programmers (20)

How to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software DeveloperHow to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software Developer
 
Technical writing training 2013 14 (2)
Technical writing training 2013 14 (2)Technical writing training 2013 14 (2)
Technical writing training 2013 14 (2)
 
Property dealing , A .net project
Property dealing , A .net projectProperty dealing , A .net project
Property dealing , A .net project
 
Agile presentation
Agile presentationAgile presentation
Agile presentation
 
API Workshop: Deep dive into code samples
API Workshop: Deep dive into code samplesAPI Workshop: Deep dive into code samples
API Workshop: Deep dive into code samples
 
Agile Methodologies And Extreme Programming
Agile Methodologies And Extreme ProgrammingAgile Methodologies And Extreme Programming
Agile Methodologies And Extreme Programming
 
Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin Nakov
 
Software Development Standard Operating Procedure
Software Development Standard Operating Procedure Software Development Standard Operating Procedure
Software Development Standard Operating Procedure
 
Agile Software Development
Agile Software DevelopmentAgile Software Development
Agile Software Development
 
Developers Nepal Meetup #4 Report
Developers Nepal Meetup #4 ReportDevelopers Nepal Meetup #4 Report
Developers Nepal Meetup #4 Report
 
Professional project writing
Professional project writingProfessional project writing
Professional project writing
 
How to become a great developer
How to become a great developerHow to become a great developer
How to become a great developer
 
Agile software development
Agile software development Agile software development
Agile software development
 
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...
Best Practices for API Adoption - WIP Factory presentation for AnyPresence we...
 
Topic tdd-and-bdd b4usolution
Topic tdd-and-bdd b4usolutionTopic tdd-and-bdd b4usolution
Topic tdd-and-bdd b4usolution
 
WordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPressWordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPress
 
Unit1
Unit1Unit1
Unit1
 
Programming vs Coding: Unveiling The Key Differences
Programming vs Coding: Unveiling The Key DifferencesProgramming vs Coding: Unveiling The Key Differences
Programming vs Coding: Unveiling The Key Differences
 
Cs121 Unit Test
Cs121 Unit TestCs121 Unit Test
Cs121 Unit Test
 
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovixapidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
 

Más de NASSCOM

Passion People Profession by Anirban saha
Passion People Profession by Anirban sahaPassion People Profession by Anirban saha
Passion People Profession by Anirban sahaNASSCOM
 
Smart Tips for Wireframing by Indrajit basu
Smart Tips for Wireframing by Indrajit basuSmart Tips for Wireframing by Indrajit basu
Smart Tips for Wireframing by Indrajit basuNASSCOM
 
Art of Writing Small Code by Sumit misra
Art of Writing Small Code by Sumit misraArt of Writing Small Code by Sumit misra
Art of Writing Small Code by Sumit misraNASSCOM
 
How to develop a successful casual social game by Rajat agarwalla
How to develop a successful casual social game by Rajat agarwallaHow to develop a successful casual social game by Rajat agarwalla
How to develop a successful casual social game by Rajat agarwallaNASSCOM
 
Art of writing small code
Art of writing small codeArt of writing small code
Art of writing small codeNASSCOM
 
Govind kulkarni
Govind kulkarniGovind kulkarni
Govind kulkarniNASSCOM
 

Más de NASSCOM (6)

Passion People Profession by Anirban saha
Passion People Profession by Anirban sahaPassion People Profession by Anirban saha
Passion People Profession by Anirban saha
 
Smart Tips for Wireframing by Indrajit basu
Smart Tips for Wireframing by Indrajit basuSmart Tips for Wireframing by Indrajit basu
Smart Tips for Wireframing by Indrajit basu
 
Art of Writing Small Code by Sumit misra
Art of Writing Small Code by Sumit misraArt of Writing Small Code by Sumit misra
Art of Writing Small Code by Sumit misra
 
How to develop a successful casual social game by Rajat agarwalla
How to develop a successful casual social game by Rajat agarwallaHow to develop a successful casual social game by Rajat agarwalla
How to develop a successful casual social game by Rajat agarwalla
 
Art of writing small code
Art of writing small codeArt of writing small code
Art of writing small code
 
Govind kulkarni
Govind kulkarniGovind kulkarni
Govind kulkarni
 

Último

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 

Último (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 

Importance of Documentation for programmers

  • 1. Documentation in programming The Independence Day began in the most thought provoking way for the members of Kolkata IT Professionals group. Yet another pertinent issue was raised by Aninda Das, which most of the programmers often overlook – not intentionally, but due to huge work pressure, lesser time at hand and crisis of resource. ‚What is the importance of documentation in programming? I know many developers; start-ups/SMEs skip this process. May be they do not have the bandwidth or the client does not emphasize much on it. BUT the documentation is critical. Let us discuss the relevance of documentation. After all ‚Ink is better than the best memory‛ – Chinese proverb‛, is what Aninda posted to stimulate the IT professionals to share their views, experience and knowledge. Quoting from a blog that Bibhas follows he said, ‚No matter how wonderful your library is and how intelligent its design, if you're the only one who understands it, it doesn't do any good‛. Ulhas sharing his thoughts said, ‚Documentation is required big time in programming for the developers themselves as we go on coding and at times we are not able to recognize what we coded if the code gets a bit older‛. He also added that he follows a
  • 2. certain methodology of documentation, which he himself created. ‚I do try to make the documentations as in comments in the scripts itself‛. The biggest problem faced by most of the programmers is time crunch to meet the deadlines. Ulhas cited added a practical scenario which can’t be looked down up on. ‚The clients comes to the context they are hardly interested in the documentations for the programming instead they want the documentation for "HOW TO USE THE FINAL PRODUCT?" as in training themselves as well as their employees‛. Prashant feels that every standard software development processes must follow documentation. He also mentioned, ‚The output of many phases of software development is often a document‛. A few examples of which can be Implementation Plan, SRS/FRD, Design Document, Test Plan and Test Cases, and End User Documentation. Sharing some further insights to program documentation he added, ‚Fellow coders who require to understand the code for maintenance/enhancement, plug-in developers who require API documentation. Programmers themselves often require design documents. There are automated tools like Doxygen which make documentation easy and not too much of a strain on programmers. But a certain discipline in the software development process is needed, otherwise programmers tend to ignore this critical aspect‛. Arjun not agreeing completely to this process feels, ‚there are different paradigm when it's comes to developer/spec documentation which does not insist on traditional documentation‛. Scrum/Agile/Lean can be some perfect examples of the same which puts more emphasis ‚on the concept of "code-as-comment" and spec documentation via RSpec/Cucumber StoryBoard scenarios which acts as user-acceptance documentation as well as executable spec code!‛ documentation is different for developers, PM/Delivery Managers, Testing Groups, Marketing/Clients, and users. ‚But all these are essential types of documents which are to be created in different ways as target is different and so is its use and requirement! This has to be clearly understood!‛ he concluded. Better codes for Rishav is better documentation. ‚I reject commits from my developers if the code is not self explanatory. Writing tests is an awesome way of having documentation. We do the tests thing all the time. Simple example – there are better ways of hard-coding regular expressions into your code. Regexes are self explanatory. Use a method instead simple and easy to read. As far as other types of documentation are concerned architecture diagrams, spec docs and bug trackers are necessary‛. The programmers need to document every feature in as much detail as possible. Anupam harped up on the importance of documentation. He stated, ‚Documentation is where your works starts. After that comes the very important part - the data flow diagram and the database structure!!! As we all know programming is all about the
  • 3. flow of data! Then comes the UI wire frames. Finally what I think we should create another final doc. with everything put into right place before getting into code!‛ The waterfall model of documentation, Arjun added, is slowly getting abandoned. ‚The days of bulky SRS or class diagram or HLD or LLD are going away fast!‛ He further suggested to gather knowledge on, ‚’Agile’ especially ‘Scrum methodology’, ‘Lean methodology’ & ‘Kanban’. According to Priyankar, ‚Coding without documentation is like getting married in the temple without getting it registered‛. Mukesh further shared his personal reasons for which he follows documentation. With three very practical yet simple examples he explained this further: ‚1. Collaborative development -- there is always a need for X to help Y debug his/her code. 2. Maintenance -- you have written the smartest of code and you are done with development. You move to a new project, someone else wants to change a small piece of code. If there is no documentation, a 5 min change could easily take 5 hours. 3. What if you get hit by a bus? You were in the middle of solving one of the most complex problems, you went out to bring food, got hit by a bus. You had solved 80% of the problem but now the new guy has to start afresh.‛ Debashis stated the obvious need for documentation. ‚Each time a particular section of code is updated, documentation for the same is imperative. It helps in rollbacks if necessary‛. Documentation is important for others to understand your code. To make your code re- usable you must document it thoroughly. ‚Gone are the days when one coded with the intention to just make the product work, now if 40% effort goes to the actual coding then the remaining must go on making it re-usable and well documented for future use‛, said Rabimba. Arun, who said is a ‚fan of quick references rather than elaborate notes‛ also added, ‚We need documentation on all the aspects of the software, pre-sales and post-sales‛. To make a developer’s life easy Mukesh suggested, ‚Clean readable codes, good use of variable names, and code refactoring‛. The takeaways from the discussion are huge. Through the experience shared by several industry experts gave us some key factors of ‚What is the importance of documentation in programming‛:
  • 4. 1. The phases of software development documentation are: Implementation Plan, SRS/FRD, Design Document, Test Plan and Test Cases, and End User Documentation 2. To recognize what we coded, if the code gets a bit older 3. Documentation is necessary for, Programmers themselves often require design documents. 4. Automated tools like Doxygen make documentation easy 5. Scrum/Agile/Lean are different paradigm of developer/spec documentation 6. For user-acceptance documentation as well as executable spec code spec documentation via RSpec/Cucumber StoryBoard scenarios can be followed 7. Documentation makes your code simple and easy to read 8. Learning ’Agile’ especially ‘Scrum methodology’, ‘Lean methodology’ & ‘Kanban’ are important for documentation these days 9. Documentation offers immense support for maintenance 10. Documentation is important for others to understand your code Post Submitted by: Sumana Chakraborty, Creative Writer & Blogger Connect with us: Facebook: http://www.facebook.com/ITniketan , Twitter: @ITNiketan