You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ideal world the code should be self-documented. There are couple of rules for it:
Do not repeat yourself
Every chunk of code should do only one thing
Code needs to be split to modules
Functions should have proper names
We already follow this all. Although, to extend self-documented idea I would like to suggest the following: the repository should be documented alongside with the code. In other words, imagine: you are browsing the repository and in each directory you find out docs for each component you see.
GitHub helps us with this by README.md files. It's supported natively and is displayed any time you open a directory. I would like to follow that.
Also, I suggest to get rid out from the docs directory in favour of having everything in the src.
The text was updated successfully, but these errors were encountered:
In the ideal world the code should be self-documented. There are couple of rules for it:
We already follow this all. Although, to extend self-documented idea I would like to suggest the following: the repository should be documented alongside with the code. In other words, imagine: you are browsing the repository and in each directory you find out docs for each component you see.
GitHub helps us with this by
README.md
files. It's supported natively and is displayed any time you open a directory. I would like to follow that.Also, I suggest to get rid out from the
docs
directory in favour of having everything in thesrc
.The text was updated successfully, but these errors were encountered: