jorendorff / js-loaders

Pseudoimplementation of the proposed ES6 module loaders.
54 stars 7 forks source link

name vs normalizedName #97

Open johnjbarton opened 10 years ago

johnjbarton commented 10 years ago

A meta-suggestion: adopt 'normalizeName' or similar for names that are already or are expected to be normalized. Or adopt 'moduleSpecifier' or similar for names that are not normalized. 'name' is ambiguous and it requires reading details then remembering what kind of name was meant for each API call.