Comment

Comment by brianhempel

Correct: if adding a variable for a literal used as a parameter for a function call, the argument name in the function definition is used (provided we can figure out which function was called!).

There are multiple name suggestions when:

(1) Multiple items are being replaced and each replaced item had a different name.

(2) There would be a name collision. To resolve the collision, either one or the other variable can be renamed.

parent brianhempel 9 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton