Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [documentation]

Software documentation is written text that accompanies computer software. It explains how the software operates, how to install it, how to use it, and other resources for help.

Filter by
Sorted by
Tagged with
2 votes
1 answer
201 views

When we write the "Purpose" section of a SRS document, do we write: The document purpose? or The Software to-be-built purpose? I have checked some examples and it seems the first one but ...
KansaiRobot's user avatar
15 votes
6 answers
2k views

I work in an enterprise software team, and I’m exploring ways to help developers better understand the business domain, company processes, and organizational knowledge beyond just technical ...
EMN's user avatar
  • 795
2 votes
2 answers
195 views

Suppose I am developing an application with the following versions currently available: Latest stable: 1.3.0 Latest beta: 1.3.1 Latest alpha: 2.0.0 The project has a main branch for 2.x development ...
Danny's user avatar
  • 131
1 vote
1 answer
84 views

Many programming languages have functions which take a parameter which is a potentially-multi-dimensional array, where the number of axes and the dimension in each axis is not specified in code. This ...
einpoklum's user avatar
  • 2,808
1 vote
1 answer
227 views

Azure Automation is a service for running scripts in the cloud, intended for the automation of administration tasks. While using it, I came across strangely outdated technologies being used under the ...
Palec's user avatar
  • 125
4 votes
4 answers
459 views

Suppose I have a property with an associated getter and setter (the property is not exposed directly) Where should I describe the property? The field javadoc The getter javadoc The setter javadoc ...
Sergey Zolotarev's user avatar
2 votes
2 answers
263 views

Semantic versioning is a scheme of versioning that make the compatibility of different versions of a software component apparent to human and non-human agents. In essence, when a backwards-compatible ...
DannyNiu's user avatar
  • 374
33 votes
15 answers
6k views

Is the term "iff" (as an abbreviation in "If and only if") commonly understood, when used in software documentation? I thought so, but recently a colleague had not heard about it ...
quazgar's user avatar
  • 459
2 votes
2 answers
293 views

Concrete example : https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/io/DataInput.html#readFully(byte[],int,int) @throws NullPointerException if {@code b} is {@code null}. is before @...
William's user avatar
  • 131
-2 votes
1 answer
218 views

I work at a fairly large startup/company of about 1000 people, a fraction of which are software engineers. We have some docs of various kinds, but the codebase isn't documented. Let me elaborate. Here ...
Alien's user avatar
  • 11
10 votes
5 answers
4k views

I'm writing a .NET library which exposes certain public APIs. Currently, I have not enforced thread safety in my library for following reasons apparent to me: locks (Monitor.Enter and Monitor.Exit) ...
Zombies are Real's user avatar
1 vote
2 answers
347 views

In java we generally do it the java-docs way and in js the popular method these days is vscode documentation using @param, @returns, @example etc but I would prefer if there were some language ...
Raven Danish's user avatar
0 votes
1 answer
315 views

Conditions: stable legacy prod system no Software Devs of the system are available anymore app is maintained by Engineers, who do not have the same software dev experience like the original Devs and ...
stack3r's user avatar
  • 125
1 vote
2 answers
355 views

I'm writing a C++ class, CBookSpellDef which has the following methods: int GetIndexOf(const char *psz); char* GetNameAtIndex(int index) { return m_spellTypes[index].szName; } char* ...
Bunabyte's user avatar
  • 643
2 votes
2 answers
197 views

We are developing a multi-user web-based application, where the users can join a "room" and a complicated handshake has to be set up between them, to be able to use a library on each ...
staccato's user avatar
-2 votes
1 answer
145 views

I have just started my first position as a software engineer after finishing my degree, and, as warned, software is much different in industry than in academia. The startup that hired me does not have ...
Lavie's user avatar
  • 107
21 votes
6 answers
6k views

We develop an online booking system and it may be embedded in customer websites in an iframe. It is very simple to use, you just include a JavaScript file on the page and call the initialisation ...
Daniel Vernall's user avatar
24 votes
11 answers
8k views

I am learning programming on my own following standard programming language textbooks. I come from a math background. I learned C on my own, but never really got to the more advanced portions. I ...
Seth's user avatar
  • 381
1 vote
1 answer
595 views

I'm working on the documentation of software management system. That system can be linked with an e-commerce website to get financial data directly. For example when a transaction will be made it will ...
Laila Ejaz's user avatar
0 votes
1 answer
221 views

I have a large C++ project I'm hoping to release publicly soon (it is currently an internal development at work). We have a large auto documentation setup which uses doxygen and sphinx, however our ...
Chris Gnam's user avatar
-1 votes
2 answers
87 views

Situation Object MyObject needs to be sent to one of our downstream systems depending on the enum value of its field myField. public class MyObject { private MyEnum myField; public MyEnum ...
downwash's user avatar
2 votes
7 answers
777 views

Is there a term that describes the property of being synchronous vs asynchronous? The term that most naturally comes to mind is "synchronicity", however I only see this term being use in ...
Rylander's user avatar
  • 139
4 votes
2 answers
295 views

I'm writing a code that extracts information about functions (prototype) and types (enum, struct, typedef) from a C source file. This is to augment the type information about a particular function or ...
Marco's user avatar
  • 377
28 votes
6 answers
11k views

I developed a big(ger) project, which is in use already and grows, gets altered, fixed, etc. every week. Until now I am the only developer. Since the team has to grow, also we will be more developers ...
Edgar Alloro's user avatar
1 vote
5 answers
167 views

Let's say some method of a parent class is reimplemented in a child class. This child method is intended to do the same that the parent method, with a minor change. In this case, in the documentation ...
NonoG's user avatar
  • 21
1 vote
2 answers
1k views

I'm currently working with a pre-existing class (not written by me) that has functions which call other functions, passing through the parameters to the helper functions. Sometimes there are layers to ...
WhoDatBoy's user avatar
  • 123
3 votes
3 answers
1k views

I am still an beginner/intermediate programmer at best so apologies if I misuse terminology. I work with SCADA software for my job, specifically Ignition by Inductive Automation. It's made for rapid ...
Brian Karabinchak's user avatar
4 votes
2 answers
573 views

My team owns several services. One is our primary focus: an accounts service. We have a plentiful stream of feature work and tech debt to address there, and everyone (engineers, product, design, ...
Andrew Cheong's user avatar
3 votes
2 answers
318 views

My team writes a lot of Python code in PyCharm to do quick simulations and calculations for our mechanical engineering work. Often, we'd like to include a little image (a hand drawn sketch, CAD ...
Emily Conn's user avatar
1 vote
2 answers
308 views

I see the term legacy signature a lot in the documentation of programming languages. For example in the php documentation : Passing the separator after the array (i.e. using the legacy signature) ...
Hicham Jerdaoui's user avatar
-3 votes
1 answer
160 views

I have recently joined in a new company as a frontend developer and I got access to their current repository which is made in ReactJS. I can see that current team is not very experienced in reactJS ...
San's user avatar
  • 1
2 votes
2 answers
249 views

I have been using an external library for a while now. Unfortunately, it stopped receiving updates, and has since been adopted into my codebase. The issue is the library was poorly documented in the ...
Nicholas Ficara's user avatar
1 vote
0 answers
77 views

This is a "doxygen style/etiquette" question. I have a function which takes, say, an int *buffer. Now, buffer is actually a multi-dimensional array, with different dimensions in each axis, ...
einpoklum's user avatar
  • 2,808
1 vote
2 answers
2k views

How do you document the logical data model of a document-oriented database like MongoDB? For relational databases, Entity-Relationship diagrams or UML class diagrams are used. What is the practice for ...
ssn's user avatar
  • 71
0 votes
2 answers
306 views

Our project consists of a cluster of microservices (let's say 20, mainly JS & PHP) that are communicating among themselves and exchanging data (via MQ) among themselves. Also, clusters have API ...
Petr Bělecký's user avatar
3 votes
1 answer
1k views

I'm having a dilemma regarding whether or not to use Doxygen's \@file (a.k.a. \file) command: /** * @file my_filename.c * * etc. etc. On the one hand, it's somewhat useful for you to use @file, ...
einpoklum's user avatar
  • 2,808
-3 votes
1 answer
932 views

I'm in a project that computes a lot of metrics with Python code. We need to document how each metric is computed, inside the code, for readability, and outside, in some Wiki, for non-technical people....
Be Chiller Too's user avatar
3 votes
1 answer
2k views

I have to create a overview documentation for a simple PLC (programmable logic controller aka industrial automation controller) program (happens to be written in Step 7 but not really important). The ...
Ari's user avatar
  • 33
-2 votes
1 answer
132 views

Event Storming is a great method to understand the business processes. Scenario (Use Case Specification) also describes the business process. They both do one thing. But when documenting, the Event ...
Ngọc Nguyễn's user avatar
9 votes
4 answers
663 views

I write code in R, and often find myself attempting to optimize the code for better performance. In a given script that tackles a specific problem, I test different code alternatives and compare them ...
Emman's user avatar
  • 209
0 votes
1 answer
1k views

When I code in plain C there is quite a beautiful interaction between headers and c files in terms of documenting the code. I tend to add the documentation on the cc files (and yes I am aware that ...
Makogan's user avatar
  • 261
-1 votes
1 answer
357 views

In our development process, we have documents for each task/feature that describe API changes API logic Data flow (if needed) Database changes How client should interact with new/modified APIs Other ...
tia's user avatar
  • 975
1 vote
1 answer
238 views

Tests can be very nicely written down using the given-when-then style. Are there similar styles / templates for describing methods and classes in docstrings? To clarify: There are many sites which ...
gebbissimo's user avatar
4 votes
2 answers
183 views

Background I work for a company that provides installation instructions for solar panels on roofs. We also provide an API where external parties can provide roof input and preferences, and return an ...
Yuri's user avatar
  • 157
-2 votes
1 answer
304 views

I'm working on a microservice application and I need to describe the complete execution graph of a specific event being published, where each node in the graph is a specific microservice subscription ...
underthevoid's user avatar
-1 votes
1 answer
119 views

Our software product is not complete, but it is functional enough that one of our clients is using it. We produce release notes with every sprint. The notes are divided into sections such as "New ...
DocWriter's user avatar
2 votes
1 answer
2k views

If I am working on a single feature, I would usually commit multiple commits. Should every commit start with feat? Or should only 1 commit have the type of feat and use a different type for the other ...
aldokkani's user avatar
  • 129
43 votes
7 answers
10k views

I was invited to review some code. I've never done that before and barely know the project. Thus I'm following the README step by step. I log everything. The README says in its "Quickstart" ...
jjk's user avatar
  • 545
1 vote
2 answers
558 views

I often find it helpful to use KDoc/Javadoc comments inside of a class or function instead of normal comments. IntelliJ colorizes them more obviously by default and, more importantly, allows ...
Matt Robertson's user avatar
-2 votes
1 answer
1k views

Suppose I'm the first person write a proper Doxygen comment for a source file. Suppose also that there have been multiple contributors to the file - original author, previous maintainers, current ...
einpoklum's user avatar
  • 2,808

1
2 3 4 5
13