Sitelet https://web.archive.org/web/20200226153054/https://github.com/topics/book
Skip to content
#

book

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

slikts
slikts commented Sep 12, 2018

Chapter in question: https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/ch2.md#template-literals

The suggestion seems to be that the template literals would be all about strings; there's only examples that result in strings, and phrases like "final string value" and "generating the string from the literal" are used in what should be a general context, but the tag function

Tiagojdferreira
Tiagojdferreira commented Feb 27, 2018

I think you make a very solid point in that section when you say that:

I do think you should be careful about the flow control part of return creating more implicitness in your function definitions. Try to figure out the most explicit way to express the logic; that will often be the best way.

But in your example I feel you do just the opposite. You add an extra variable that I need to keep t

saskenuba
saskenuba commented Feb 18, 2020

At the section Attribute-like macros the implementation of the proc_derive_attribute macro should not be blank, showcasing the minimum functional example since args are parsed differently and it's shown the implementation of a simple derive at the section above it.

Moreover, it needs to be mentioned that an attribute macro replaces the "thing" they annotate (lost a ton of time in this yeste

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.