You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
... BTW, I think your current approach of improving the documentation looks good. Who told you this is not a good practice? For me, "best practice" is to stay pragmatic and adapt any invested effort to the specific resources and needs of a project environment - it sounds you are already doing this.Doc Brown– Doc Brown2024-02-07 14:54:38 +00:00Commented Feb 7, 2024 at 14:54
-
@DocBrown I have updated the question text in yet another attempt to make it clear and focused.stack3r– stack3r2024-02-07 15:21:57 +00:00Commented Feb 7, 2024 at 15:21
-
One thing which bothers me is the content of the header. A high level description is good. Input and output descriptions are good. Nonobvious usage information or side effects are good. What I would avoid is to put anything into which can be easily retrived by anyone from source control, like creation date, original author or summary of changes.Doc Brown– Doc Brown2024-02-07 16:26:30 +00:00Commented Feb 7, 2024 at 16:26
-
@DocBrown - I get where your point comes from, and probably in most cases this is sufficient. However, not so long ago, I had to merge and migrate multiple SVN repos into one Git repo. Due to limitations of such process, sacrifices had to be made. Some of the metadata, including creation time and most of commit info got lost in the process. In that case at least the major "milestones" could be preserved in such header, as I would not want a commit history duplicate. BTW, what is missing for reopening my question?stack3r– stack3r2024-02-07 22:53:36 +00:00Commented Feb 7, 2024 at 22:53
-
There is a 3rd member missing with enough rep willing to cast a reopen vote. I casted my vote for reopening already yesterday. But to what you wrote: I would not duplicate the change history into the source code files just because there is a minimal risk in some years they history could be lost due to a change of version control (something for which the chances are quite low when you nowadays work with Git). I would instead invest a little bit more time into the migration process to migrate the meta data when it ever comes to that situation.Doc Brown– Doc Brown2024-02-07 23:15:31 +00:00Commented Feb 7, 2024 at 23:15
|
Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you