You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line does all the work in this little program: it prints text to the screen. There are four important details to notice here.
First, Rust style is to indent with four spaces, not a tab.
I was absolutely surprised that rust has a default style format that uses spaces when that is objectively worse but I respect that some people have opinions and that those opinions won that style choice.
However this choice is given extra emphasis without context in the book.
It is the first thing you learn about the first hello world example.
I personally do not see the value in calling this out at this point in the book.
It doesn't add any value here for persons learning rust.
Imho it can be omitted.
Alternatively it would be more inclusive if the book immediately explained that this is a preference that can be overridden.
The text was updated successfully, but these errors were encountered:
I was absolutely surprised that rust has a default style format that uses spaces when that is objectively worse but I respect that some people have opinions and that those opinions won that style choice.
However this choice is given extra emphasis without context in the book.
It is the first thing you learn about the first hello world example.
I personally do not see the value in calling this out at this point in the book.
It doesn't add any value here for persons learning rust.
Imho it can be omitted.
Alternatively it would be more inclusive if the book immediately explained that this is a preference that can be overridden.
The text was updated successfully, but these errors were encountered: