-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename TypeScript to LintScript #54724
Comments
To the inevitable reactions with emoji, for or against: please do provide your reasons. I believe in argumented discussion. To show good will, I will state an argument against my proposal: it is an effort. The question I ask is: is the effort worth it?
|
This is a bizarre quixotic take. Even if everyone agreed with your sentiments and reasoning, it would still be far too late to make such a change. I strongly suggest you close this issue before anyone from the TS team has to deal with it. |
Why is it (far) too late? Projects bigger than this one did change names, although I suspect never for such a reason. I hear your sentiment that you (I think) find this futile despite my arguments that make it only at most relatively so, but why are you trying to intimidate me into retreating my suggestion? P.S. I don't understand "quixotic" (as this proposal comes from pragmatic reasons); this is rather a Camusian take: As for "bizarre", I am at a loss, so I'll assume that comes from personal aesthetics. |
I was asking you to retract your suggestion because it's not going to happen, and I'm not inclined to spend very much effort explaining why. Either you already understand that this is not going to happen, in which case it's bad faith to pretend otherwise. Or you do not understand this, in which case the likelihood that someone outside the TS team can convince you is very low. Either way I regret saying anything. |
I indeed do not know of any other reason it would not happen, than the one I gave: it is an effort. The likelihood of convincing me otherwise is however very high: either provide another compelling reason, or explain that renaming the project in the way mysqlβmariadb did (only the brand, not the executables) is indeed the tremendous effort I don't know it to be. An alternative idea would be to clarify the incompleteness (linting) aspect of the project in a slogan that immediately waters down the name. Yet another idea would be to have a --no-unsafe-types option or so, that hides type signatures which would become annotated as such, when by their very nature they would allow some runtime |
But that's simply not true. The spectrum of "typing" and what qualifies as a "typed language" is a very broad one. Many other languages with types, even languages that are generally referred to as "strongly statically typed", have limitations and soundness holes through which runtime errors can happen that the compiler is unable (or unwilling) to check or prove. I did not expect the word "Type" in "Typescript" to imply that my code could never again fail, and I think many other developers would agree with me as evidenced by the popularity and longevity of the language. |
Lots of type-related errors can make it to runtime in, say, C# too. That doesn't mean we should call the C# compiler a linter. Incompleteness is a fundamental property of type systems (and, for that matter, mathematics in general). No type system can prevent all errors while still remaining usable; you pay for it in false-positive errors. |
This is indeed true if your notion of "usable" mandates Turing-completeness, IIRC. |
I think there is confusion; And still, I can't really see the idea of renaming, the effort needed to rename and rebrand isn't worthy. I'll list some:
And the list goes on... |
@Yokozuna59 Yes, the way you envision this is too brutal. Do it the mysql way⦠just rename the repo, keep the issues, keep the code, keep the history⦠that is a matter of pressing F2. Oh and keep a redirect from the previous repo so nothing breaks. Microsoft literally owns github, they can do it. Even in my craziest dreams, I don't expect any more than having a @nmain I just want to quote https://www.typescriptlang.org/ a little bit:
This should clearly be watered down, at the very least:
|
It's not just used for scripts though anymore. What about calling it Lint for Scripts and Programs, aka LISP? |
also see #9825 (comment) |
β¦I, umβ¦ I donβt think this issue is worth engaging with further |
I've raised this up with the appropriate leadership and we have decided not to do this. |
Suggestion
π Search Terms
rename
typescript name
project name
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
I suggest to name the project in a way that is faithful to its design goals. This is not in jest. I fear this proposal will anyhow be rejected as such.
π Motivating Example
Seeing the name of the language, I thought it intended to be a type-checked language, which it is not; it only checks it partially, aka lints it.
After reporting or actively following several issues that were closed as "won't implement", I finally figured out that TypeScript didn't actually fully intend to be a typed ECMAScript, unlike the name claims, just a linted one covering most but not all cases. Two examples of consequences of this misunderstanding which I'm not alone having: Add a --strictNaNChecks option, and a NaN / integer / float type to avoid runtime NaN errorsΒ #28682 Reduce without an initialValue should be illegal on a potentially empty arrayΒ #34736
π» Use Cases
This would make it clear for people who expect type-checked JS that they should not, and instead that it is a JS linter, because there are
TypeError
s that make it to the runtime (e.g. #34736).Indeed, "to strike a balance between correctness and productivity" is the job of a linter, not that of a static type checker, which makes no such compromise as having type errors pop up at run time.
The text was updated successfully, but these errors were encountered: