Skip to main content

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*

2
  • 1
    Thank you, this is very helpful. I will try to incorporate some of these practices in my code from now on. Commented Jan 9, 2024 at 20:52
  • Close enough to what I was thinking of writing: all variants are missing function documentation, which informs both the caller of the function and the reader of the function code understanding what the function is supposed to do. Sure, that can be wrong (especially with copy-pasta) but no more so than the code inside the function. Commented Jan 10, 2024 at 1:11