Skip to content
#

book

Here are 2,146 public repositories matching this topic...

EmNudge
EmNudge commented Jul 27, 2019

explanation behind that says it's just coercion of one type plus another.
What is happening there is actually a code block and a unary + which coerces the array into 0.
({} + []) would get the same as ([] + {}) understandably.

Lonami
Lonami commented Feb 17, 2020

Recently, I opened rust-lang/reference#763, which is in the wrong place because the reference should not be a guide. This book, however, should serve as a guide.

I personally found the reference explanation to be a better material to learn about how to use Macros by example rather than the current chapter on Macros the book has (which was a bit confusing, as if it trie

sumbach
sumbach commented Jan 31, 2016

I think it would be valuable to explicitly talk about whitespace requirements in [ ] and [[ ]] conditionals--this tripped me up when learning Bash and I know it's a pain point for a lot of developers.

The way I like to think about it is that [ and [[ are commands/builtins (like echo, etc), as opposed to being part of Bash syntax. For this reason, the command name and each of its argumen

Improve this page

Add a description, image, and links to the book topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the book topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.