-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
In section 9.2 Common Escape Sequences, an example is given of assigning the literal ¯\_(ツ)_/¯
to a String. The text says "you need to escape the first backslash." However, there is only one backslash in that literal, and the text misses out an on opportunity to clear up confusion as to the difference between forward slash and backslash.
Naturally this is low priority and somewhat pedantic, but I have noticed in my experience that even professional devs get backward and forward slashes mixed up, and therefore I think a brief note saying something to the effect of "the slash toward the end is a forward slash and does not need to be escaped because it is not a special character in a String" would help beginners
bowbahdoe
Metadata
Metadata
Assignees
Labels
No labels