-
Notifications
You must be signed in to change notification settings - Fork 3
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 progressive enhancement in OOP post #296
Conversation
✅ Deploy Preview for tourmaline-marshmallow-241b40 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks for the post, Hugo. I think it would have been nice to have more concrete examples but if that is not intended, this is still fine as nuggets of wisdom.
Co-authored-by: James Azam <[email protected]>
60287b0
to
c222a94
Compare
@@ -0,0 +1,152 @@ | |||
--- | |||
title: "Improving Ecosystem Interoperability Iteratively via Progressive Enhancement" |
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.
I'm just realising we are inconsistent with the use of capitalisation and sentence case for our titles. We should probably harmonise this in a separate issue/PR.
|
||
Object oriented programming and S3 classes offer a convenient way to iteratively add interoperability in the ecosystem in a way that is minimally disruptive to users and developers. | ||
Newly classed input support can be added via custom methods (after converting the existing function to a generic if necessary). | ||
Newly classed output support can be added via progressive enhancement, by ensuring that the new class is a subclass of the old one, that downstream code uses good practices. |
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.
The statement "that downstream code uses good practice" doesn't follow smoothly after the command but I'm unsure of what you're trying to say.
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.
Thanks, Hugo. The added examples will enhance your points.
Co-authored-by: James Azam <[email protected]>
R
Right before merging:
date
field has been updatedblueprints
to link to this post_freeze/
folder is up-to-date