-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Explanations for "Strings can be tricky sometimes!" are incomplete #67
Comments
You can read This SO post for details. It covers everything you need to know. |
The existence of an SO post doesn't mean the explanation section isn't incomplete. The main issue is that it does not address the third snippet at all, "a" * 20 vs "a" * 21. |
@jseakle I completely agree with you. Even I noticed this too when I was reading the explanation portion. Then I searched on SO and found the post that I posted in my earlier comment. Someone really have to improve the explanation for this portion. |
+1, I was looking for the same explanation :) Would @satwikkansal be able to add a few words about this? Would a PR make it easier? |
Alright guys, really sorry for the ignorance. I've fixed this up in a0100a8 Let me know if things are still unclear. |
@satwikkansal Just submitted a PR about this :) Should I delete it? I think it would be good to mention that |
@sheljohn oops, I didn't knew that, I'm having a look at your PR (y) |
@sheljohn left a few comments at the PR. I guess maybe we should only go with the typo (fullstop) change for the time being. |
Alright everyone, closing this now. Feel free to reopen the issue if explanation is still confusing/incorrect/insufficient. |
The main issue is that they do not address the third snippet at all, "a" * 20 vs "a" * 21.
I'm also very curious to know /why/ it's the case that
If it were just non-ASCII, that would make some sense, but what problems could interning a string with an exclamation point cause?
The text was updated successfully, but these errors were encountered: