-
Notifications
You must be signed in to change notification settings - Fork 152
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
Adjust abstracts #78
Adjust abstracts #78
Conversation
Listing everything in the abstract would get too long to really be useful for the reader. Instead of trying to add what's omitted (conditional operator, range operators, nil-coalescing operator, maybe others) make it clear that these are examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable change. If I had to gripe, it'd be that you can nest types inside of other types regardless of whether they're specifically data types.
Oh, interesting — I think I treat "type" and "data type" as synonyms. Would a non-data type be something like an enum with no cases, used to create a pseudo-namespace? Looking at usage within TSPL, "data types" is actually pretty rare, so it might be worth changing those to just "types" to be more consistent:
|
Yeah, or any type that doesn't have storage requirements, like a protocol that defined methods and accessor functions. In contrast to something like a |
The term "data type" is rare in the book to begin with. I've left a couple places where it refers to a type that stores some kind of data. But in most places (as pointed out by Kyle during review of this PR) we're talking about both types that do and don't have storage.
The words "structure" and "groups" can both be read as either a noun or a verb, which makes this sentence hard to parse. This fact that we use "structure" as a noun a lot throughout the book to refer to structs exacerbates that misreading. Fixes rdar://103188927
Fixes rdar://102988487
Fixes rdar://102988514
Fixes rdar://102995541
Fixes rdar://103188927