Hey everyone!
There was some uncertainty regarding the migration of the codebase to ES6, as pointed out by @limzykenneth here.
This has been listed as a project idea under the GSoC project list, but there hasn’t been a discussion about what features to migrate and about the possible use of Babel for backwards compatibility.
@outofambit and @stalgiag since your fellowship to bring p5.js to 1.0 includes this migration, could you brief us regarding what changes and standards should be observed while making the update.
Here are the list of ES6 feature changes I think should be incorporated:
- var to let, const
- Arrow functions
- Class declaration
Other possible features that could be incorporated:
- New Math, Number, Array and String libraries
- Enhanced Object Literals
- Promises
- Destructuring
I’d love to hear from you guys as to what should be worked upon. I have been using p5.js since quite a long time, and in the past couple of weeks I have explored the code base to estimate the extent of changes required. Based on your recommendations I plan to submit a proposal for GSoC on this project.
Thanks!