guest271314 (2019-06-20T01:05:49.000Z)
guest271314 at gmail.com (2019-06-20T01:19:37.783Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know and write the variable as a literal? If the use case is for an assertion, the only way the test could fail is if the developer intentionally wrote the incorrect variable identifer. How can the user know know the exact identifier execpt for writing and reading the code before using ```nameof``` without an error being thrown? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let```, ```class```, ```var```, et al., without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:14:40.353Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? How can the user know know the exact identifier execpt for writing and reading the code before using ```nameof``` without an error being thrown? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let```, ```class```, ```var```, et al., without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:14:09.690Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? How can the user know know the exact identifier execpt for writing and reading the code before using ```nameof``` without an error being thrown? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let```, ```class``, ```var```, et al., without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:13:11.941Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? How can the user know know the exact identifier execpt for writing and reading the code before using ```nameof``` without an error being thrown? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let``` without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:11:36.164Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? How can the user know knwo the exact identifier execpt for writing and reading the code before using ```nameof```. If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let``` without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:08:47.100Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let``` without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).
guest271314 at gmail.com (2019-06-20T01:07:36.590Z)
The current proposal is redundant. The user has to already know and write the exact name of the variable, or try to guess the variable name to not, or to, catch an error that includes the name of the identifier as a string. Why should the user have to already know any write the variable as a literal? If that feature is valuable to users of JavaScript by all means write that definition. Extending the original proposal with the ability for the user to use ```nameof``` to get list of all varibales declared using ```const``` and ```let``` without having to already know and write the exact variable name, that is, when called without an adjacent exact variable identifier, e.g., ```const nameofall = nameof *; // ["y", "x"] which can also include line number``` as well, would not be redundant, and would also benefit users of JavaScript directly where defining the feature would provide values that are not currently possible (without previously knowing and writing the exact name of the variable identifier, or guessing the names of the identifiers, which should be also already be possible).