-
Notifications
You must be signed in to change notification settings - Fork 54
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
Some chapter 1 grammar/flow suggestions #105
base: main
Are you sure you want to change the base?
Conversation
Primarily minor grammar fixes, but a few suggestions included for sentences I found confusing.
I assign the copyright of this contribution to Pedro Duarte Faria |
Thank you @burlingsmith for your contribution! I will take a look at it 😉 |
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.
I don't have time right now to review everything, so I will come back here soon. But this is what I've spotted so far.
This phrase is specially true for C++ programmers. Because C++ is a gigantic language, | ||
with tons of features, and also, there are lots of different "flavors of C++". These elements | ||
are what makes C++ so complex and hard to learn. Zig tries to go in the opposite direction. | ||
This phrase is especially true for C++ programmers because C++ is a gigantic language, |
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.
I prefer to end the phrase in the "programmers" with the final dot. It feels a better reading flow to me.
This phrase is especially true for C++ programmers because C++ is a gigantic language, | |
This phrase is especially true for C++ programmers. Because C++ is a gigantic language, | |
your C code. With macros, you are no longer 100% sure about which pieces | ||
of the code are being sent to the compiler, i.e. | ||
they obscures the actual source code that you wrote. | ||
The phrase above is still important for C programmers too because, even with C being a simple |
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.
Once again, ending the phrase with the dot, gives me a better reading flow here. Although you did some nice changes in this paragraph.
The phrase above is still important for C programmers too because, even with C being a simple | |
The phrase above is still important for C programmers too. Because, even with C being a simple | |
You also don't have a hidden control flow happening behind the scenes. And, you also | ||
don't have functions or operators from the standard library that make | ||
hidden memory allocations behind your back. | ||
|
||
By being a simpler language, Zig becomes much more clear and easier to read/write, | ||
but at the same time, it also achieves a much more robust state, with more consistent | ||
By being a simpler language, Zig becomes much clearer and easier to read and write |
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.
Nice
Some grammar or flow fixes I noted down while starting to read the book. Primarily minor grammar fixes, but a few suggested changes to sentences I found confusing.
Please let me know if you have any questions or if this is not the sort of contribution you are looking for. Thank you!