-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify rule S1176: Migrate to LayC - Public types, methods and field …
…(API) should be documented (#3307) Co-authored-by: Peter Trifanov <[email protected]>
- Loading branch information
Showing
6 changed files
with
149 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* Technical Writer HQ - https://technicalwriterhq.com/documentation/api-documentation/how-to-write-api-documentation/[How to write API documentation] | ||
* FreeCodeCamp - https://www.freecodecamp.org/news/how-to-write-api-documentation-like-a-pro/[How to write API documentation like a pro] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
A good API documentation is a key factor in the usability and success of a software API. | ||
It ensures that developers can effectively use, maintain, and collaborate on the API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Undocumented APIs pose significant challenges in software development for several reasons: | ||
|
||
* *Lack of Clarity:* developers struggling to understand how to use the API correctly. This can lead to misuse and unexpected results. | ||
* *Increased Development Time:* developers spending extra time reading and understanding the source code, which slows down the development process. | ||
* *Error Prone:* developers are more likely to make mistakes that lead to bugs or system crashes when the intent or the error handling of an API is not clear. | ||
* *Difficult Maintenance and Updates:* developers may not understand the existing functionality well enough to add new features without breaking the existing ones. | ||
* *Poor Collaboration:* collaboration, when there is lack of documentation, leads to confusion and inconsistencies. | ||