SlideShare a Scribd company logo
1 of 4
Download to read offline
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

More Related Content

What's hot

Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesionSutha31
 
Introduction to Technical Writing - Priti Gaikwad
Introduction to Technical Writing - Priti GaikwadIntroduction to Technical Writing - Priti Gaikwad
Introduction to Technical Writing - Priti GaikwadPriti Gaikwad
 
Technical Writing_An Introduction
Technical Writing_An IntroductionTechnical Writing_An Introduction
Technical Writing_An IntroductionTamanna Arora
 
Project thesis template-1
Project thesis template-1Project thesis template-1
Project thesis template-1Josnar Alo
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLMalek Sumaiya
 
Maruti Security Alarm NCS 5091109 Manual
Maruti Security Alarm NCS  5091109 ManualMaruti Security Alarm NCS  5091109 Manual
Maruti Security Alarm NCS 5091109 ManualDanish Mehraj
 
Requisites of a good sentence
Requisites of a good sentenceRequisites of a good sentence
Requisites of a good sentenceAnjali Sharma
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptxDrTThendralCompSci
 
A Review of RUP (Rational Unified Process)
A Review of RUP (Rational Unified Process)A Review of RUP (Rational Unified Process)
A Review of RUP (Rational Unified Process)Waqas Tariq
 
software design principles
software design principlessoftware design principles
software design principlesCristal Ngo
 
Characteristics of report writing
Characteristics of report writingCharacteristics of report writing
Characteristics of report writingKanzaa Shakoor
 
Isolated sentences
Isolated sentencesIsolated sentences
Isolated sentencesAjit Singh
 
Requirements Engineering Process Improvement
Requirements Engineering Process ImprovementRequirements Engineering Process Improvement
Requirements Engineering Process ImprovementIan Sommerville
 
Technical and business writing slides
Technical and business writing slidesTechnical and business writing slides
Technical and business writing slidesSelf-employed
 

What's hot (18)

Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesion
 
Introduction to Technical Writing - Priti Gaikwad
Introduction to Technical Writing - Priti GaikwadIntroduction to Technical Writing - Priti Gaikwad
Introduction to Technical Writing - Priti Gaikwad
 
Technical Writing_An Introduction
Technical Writing_An IntroductionTechnical Writing_An Introduction
Technical Writing_An Introduction
 
Project thesis template-1
Project thesis template-1Project thesis template-1
Project thesis template-1
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
Maruti Security Alarm NCS 5091109 Manual
Maruti Security Alarm NCS  5091109 ManualMaruti Security Alarm NCS  5091109 Manual
Maruti Security Alarm NCS 5091109 Manual
 
Requisites of a good sentence
Requisites of a good sentenceRequisites of a good sentence
Requisites of a good sentence
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Structure of a report
Structure of a reportStructure of a report
Structure of a report
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptx
 
Case tools
Case toolsCase tools
Case tools
 
Report writing
Report writingReport writing
Report writing
 
A Review of RUP (Rational Unified Process)
A Review of RUP (Rational Unified Process)A Review of RUP (Rational Unified Process)
A Review of RUP (Rational Unified Process)
 
software design principles
software design principlessoftware design principles
software design principles
 
Characteristics of report writing
Characteristics of report writingCharacteristics of report writing
Characteristics of report writing
 
Isolated sentences
Isolated sentencesIsolated sentences
Isolated sentences
 
Requirements Engineering Process Improvement
Requirements Engineering Process ImprovementRequirements Engineering Process Improvement
Requirements Engineering Process Improvement
 
Technical and business writing slides
Technical and business writing slidesTechnical and business writing slides
Technical and business writing slides
 

Similar to 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 to 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
 

More from 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
 

More from 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
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 

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