-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comment-documentation for several key Theia utility classes #13324
Add comment-documentation for several key Theia utility classes #13324
Conversation
DisposableCollection AbstractReferenceCollection ReferenceCollection SyncReferenceCollection Lack of documentation, especially for non-trivial but pervasively used types is, IMO, a hindrance to the widespread adoption of the platform. Imagine STL or any other major library expecting developers to learn and understand its various facilities by reading the code line-by-line. It significantly increases the learning curve and makes the platform less approachable. Where I am having to do such line-by-line studying of the code to understand these essential utilties, I'll be making contributions to hopefully bring some relief. However, I do think this technical debt should be tackled in a more comprehensive and intentional manner now that Theia has presumably reached some sort of critical mass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the additional documentation, John! I do have some remarks regarding the DisposableCollection
but other than that, this looks correct to me.
a40064a
to
9655e9b
Compare
Improved description based on Martin's feedback.
9655e9b
to
0405e91
Compare
1b9379f
to
020df9c
Compare
@martin-fleck-at Sorry for the churn. All done now and ready for re-review when you get a chance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick update, John! I think we are almost there, I'd just like some cleanup of the new test case.
64c2f60
to
51a08fd
Compare
@martin-fleck-at I think I took care of all your feedback items. Let me know if I missed something |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick update, everything looks good to me now!
What it does
Adds comment-documentation for several key Theia utility classes
Lack of documentation, especially for non-trivial but pervasively used types is, IMO, a hindrance to the widespread adoption of the platform. Imagine STL or any other major library expecting developers to learn and understand its various facilities by reading the code line-by-line. It significantly increases the learning curve and makes the platform less approachable.
Where I am having to do such line-by-line studying of the code to understand these essential utilties, I'll be making contributions to hopefully bring some relief. However, I do think this technical debt should be tackled in a more comprehensive and intentional manner now that Theia has presumably reached some sort of critical mass.
How to test
Someone intimate with these utility types should read the new documentation and check for accuracy and understandability.
Follow-ups
N/A
Review checklist
Reminder for reviewers