Skip to content
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

episode 05 - another way to get start of string #611

Open
wants to merge 1 commit into
base: gh-pages
from

Conversation

@tj-sun
Copy link

@tj-sun tj-sun commented Jan 23, 2019

Another way to compare the start of the string using list slicing.

This doesn't introduce any new conceptual burden as learners have already seen list slicing earlier.
I also think it's a more commonly used way to compare substrings, and also helps reinforces the concept of list slicing, which is very useful.

Another way to compare the start of the string using list slicing.

This doesn't introduce any new conceptual burden as learners have already seen list slicing earlier.
I also think it's a more commonly used way to compare substrings, and also helps reinforces the concept of list slicing, which is very useful.
@maxim-belkin
Copy link
Contributor

@maxim-belkin maxim-belkin commented Jan 23, 2019

Thanks, @tj-sun. While this does not introduce any "new" material, this does break the flow of the explanation there (the sentence that starts with "But..." no longer refers to the statement that precedes it but to the one before it...).

@tj-sun
Copy link
Author

@tj-sun tj-sun commented Jan 24, 2019

Got it - that's a good point, we certainly shouldn't digress from the logic flow. Probably better that the instructor just brings this up when he/she sees fit.

Feel free to close this.

@maxim-belkin
Copy link
Contributor

@maxim-belkin maxim-belkin commented Jan 24, 2019

How about, we start with this comparison and then mention startswith ?
CC @annefou

@annefou
Copy link
Contributor

@annefou annefou commented Feb 17, 2019

@maxim-belkin I definitely like your last suggestion; and make it clear to the instructor that this can be raised if it fits the attendance (depending on your audience and questions raised).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants