-
-
Notifications
You must be signed in to change notification settings - Fork 780
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
Swapping the order of episodes on lists and loops #496
Comments
@maxim-belkin If so, I'd be happy bring them back out of the notebook to the branch. |
@bhickson, thanks for offering your help! The notebook you reference has changes that might be appropriate for both branches ( |
@maxim-belkin Is there anything else that needs to be worked on for this branch? |
Hi, I looked over the changes in these lessons a bit. I agree that it makes sense to introduce lists before loops and the transition to looping is a lot clearer now. However, around line 195 in |
Thanks, Kristen. I agree that jumping from iterating over lists to iterating over strings might be a bit odd (heh). If you'd like to propose any changes with a pull request -- that would be very much appreciated. @kekoziar, apologies for not replying to your question but in order to answer it I have to re-read the first 3 episodes together and I wasn't able to find time for this exercise yet... |
I also welcome any clarifications for that section. I agree it's a little clunky. While strings can be read using index notation, they can't be accessed using read/write like lists. I usually note when teaching the loop examples that use strings that while characters in strings can be read using index notation, there are other, faster, more powerful methods for working with strings. |
@kekoziar Yeah, explaining that strings can be treated similarly to lists in some ways, but not all might be too confusing at this stage. I'm leaning toward just not introducing this string iteration concept at all, thoughts? I can certainly make some proposed changes via a pull request! I can work on this sometime tomorrow and will tag you both for feedback if that's ok. |
I'm good with removing it. Rarely actually so string slicing myself, but
it does illuminate a bit about how they work; which I suppose is why I put
it in in the first place.
…On Fri, Apr 5, 2019 at 2:56 PM Kristen Brown ***@***.***> wrote:
@kekoziar <https://github.com/kekoziar> Yeah, explaining that strings can
be treated similarly to lists in some ways, but not all might be too
confusing at this stage. I'm leaning toward just not introducing this
string iteration concept at all, thoughts?
I can certainly make some proposed changes via a pull request! I can work
on this sometime tomorrow and will tag you both for feedback if that's ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#496 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIS6oTvd3zr6xhmpcIDZagUlicr9kxDnks5vd8angaJpZM4TSaA->
.
|
Is anyone working on this issue? In my opinion, this should be a priority. Iterating over the characters in a string is obscure for an introductory course. |
Hi Erik, as far as I know, no one is actively working on this. If you would like to take it up (i.e. getting the branch up-to-date, resolving any conflicts, checking for references that no long make sense, etc.), please do! Thank you! |
Hi, I have made PR #896, please have a look: |
Hi @ewinge - thanks for pushing these changes up! I hadn't kept up with the progress of my changes in the list-loops branch being taken to main. Out of curiosity are you pulling in the list-loops branch or did you just re-write it? I'm just wondering if there was something wrong with the changes I made/how I rewrote it? |
For context @ewinge @maxim-belkin: I was waiting for someone to want to merge my changes into the main branch (seems to have fallen off the radar and now the branch is out-of-date), we worked in the list-loops branch since it was a major change. Would you mind if we tried to update the list-loops branch instead as @ldko mentioned? I'm kind of sad now that my changes won't get merged and was busy at the time this first got pinged again... |
Hi @biokcb, the list-loops branch had fallen behind, so it was easier to start from scratch. |
Hi @ewinge I agree it would be nice to have the lesson finally implement this change in the
I feel like this comment is a bit hostile and unnecessary. I only mentioned my feelings on it for context behind my request for it since I don't have an official role on the repository. In the original issue statement from @maxim-belkin it specifically asks to work in the |
Hi @biokcb, I apologize, it was not my intention to be rude :) |
Hi @biokcb and @ewinge.
Thanks all for your patience! |
I've rebased the |
Congratulations, everyone! The order of the episodes was changed in #926 and I have already tested it in a recent workshop (I'll share feedback in a separate issue). Thank you all who contributed to this effort! |
It has been decided (see #453) that lists should be introduced before loops.
Because this change might take some time to implement, it was decided to first pursue this effort in a separate branch and later merge this branch into the main
gh-pages
branch.This special branch has been created and is called
lists-loops
. We, therefore, ask anyone who is interested in contributing to this effort to submit Pull Requests against thislists-loops
branch.How to contribute
Start by fetching and checking out the
lists-loops
branch into your current repositoryNow, you can start working on it as usual:
... and submit a PR! When you submit a pull request related to swapping the order of episodes on loops and lists, make sure to select
lists-loops
branch of this repository as the base branch.That's it!
We hope to see your Pull Request soon!
The text was updated successfully, but these errors were encountered: