-
-
Notifications
You must be signed in to change notification settings - Fork 633
Port missing exercises from JavaScript to EcmaScript track #417
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
Comments
On #412 @joelwallis wrote:
@joelwallis I did discuss with @kytrinyx the differences in implementation syntax between the JS track and the ES track for a given exercise. I think that changing the API of the tests and example of a newly ported exercise could be at the discretion of the implementer. Function or POJO based solutions are just as legitimate in ES6 as class-based ones. For sure we would want to update the module syntax and the test syntax ( As far as worrying about an existing exercise that is implemented in both places, but with a different API, the ES one should take precedence and remain as-is. This may break a user's existing solution, but this happens frequently with normal changes and improvements to exercise code anyway. The intention is that a user's existing solutions will be migrated to the matching exercise in the new track, though it may not exactly match because of potential API differences. The code will still be there, and they could update their solution if they want to. Let me know if this sounds OK to you, or if you have any objections or questions. Thanks! |
@matthewmorgan I diffed existing exercises in both tracks and this is what I see: Exercises in javascript track but not in ecmascript
Exercises in ecmascript track but not in javascript
Ref: https://gist.github.com/tejasbubane/13d5fbb3db0da6f1ea047e27d704e3a2 How do we proceed about these differences? I guess we will have to port over missing exercises from javascript track to ecmascript. Otherwise the data migration will not be consistent. |
@tejasbubane thanks for that list. Yes, we are going to port any exercises in JS but not in ES to ES. So, your first list is the one we need to use. I feel like that list is short enough that we don't need separate issues for each one, but just a checklist here: Exercises to port from JavaScript track to EcmaScript track
Let's check each of these off as the PRs are merged, and then we can close this issue. @tejasbubane @joelwallis if each of you can take a couple of these, I can take the remaining two. Would you mind picking and assigning the exercises to yourself in an empty PR? |
@matthewmorgan sounds like a plan. I'll dibs the two first ones ( |
@joelwallis awesome! A couple of things that came up with @gavinhenderson's PR:
I had neglected to call these out explicitly. |
I'll dibs on |
OK, I guess that leaves |
@tejasbubane @joelwallis how are your PRs coming? I could do a couple of these myself this weekend. Migration is currently underway, so I think we should wrap this up if possible. |
Hey Matt, I'm unable to implement my two exercises this weekend. I started working on the If you want, get this one from my plate. I'll be able to work on something this Monday, so I can get the |
OK, got it-- I will give |
OK, |
@tejasbubane @joelwallis it looks like the V2 migration has happened. I don't know that this adds any urgency to getting those exercises ported, but let me know if you will be able to finish this in the next day or two. "I don't have time this week" is a perfectly acceptable answer, I just don't want to step on anyone's toes. This seems like an important loose end to me, and I am willing and able to finish porting the three exercises if need be. By the way, @joelwallis, your earlier comment about the My process:
I don't try to add or improve anything. I leave that for a future PR. Maybe the above approach will be helpful to you! |
Hi @matthewmorgan, Unfortunately, I'm not finding time this week to work on this issue. Feel free to take |
Done. |
@tejasbubane Since you hadn't commented on this in a few weeks, I went ahead and finished the last two that needed to be done. You are welcome to improve the exercise implementations if you are so inclined! |
Sorry @matthewmorgan, I was busy this week and somehow missed these notifications :( |
Not a problem at all! I just didn't want you to be disappointed if you were fired up to do the work! |
After more conversation with @kytrinyx and others, I've prepared a few things for deprecating the current JS track.
For V2, the EcmaScript track will become the "new" JavaScript track. Users' submissions will be migrated as part of the process.
Katrina's notes on the migration process:
In the meantime, I've closed all open issues and PRs on the JS track as
wontfix
, leaving one issue open stating the track will be deprecated. I have also updated the README to alert users to the deprecation.On this track, we need to
@tejasbubane @joelwallis ( @jackhughesweb ? ) would any of you care to take on the audit of missing exercises? That step seems to need to be done first.
The text was updated successfully, but these errors were encountered: