René's URL Explorer Experiment


Title: Type-checking unsoundness: standardize treatment of such issues among TypeScript team/community? · Issue #9825 · microsoft/TypeScript · GitHub

Open Graph Title: Type-checking unsoundness: standardize treatment of such issues among TypeScript team/community? · Issue #9825 · microsoft/TypeScript

X Title: Type-checking unsoundness: standardize treatment of such issues among TypeScript team/community? · Issue #9825 · microsoft/TypeScript

Description: In various issues, I've seen a tendency to treat some of TypeScript's type checking limitations (see #5786, #7933, #9765, #3410 (comment)) closed as By Design or Design Limitation. (There are more, but I think other folks here know more ...

Open Graph Description: In various issues, I've seen a tendency to treat some of TypeScript's type checking limitations (see #5786, #7933, #9765, #3410 (comment)) closed as By Design or Design Limitation. (There are more,...

X Description: In various issues, I've seen a tendency to treat some of TypeScript's type checking limitations (see #5786, #7933, #9765, #3410 (comment)) closed as By Design or Design Limitation. (There a...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/9825

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type-checking unsoundness: standardize treatment of such issues among TypeScript team/community?","articleBody":"In various issues, I've seen a tendency to treat some of TypeScript's type checking limitations (see https://github.com/Microsoft/TypeScript/issues/5786, https://github.com/Microsoft/TypeScript/issues/7933, https://github.com/Microsoft/TypeScript/issues/9765, https://github.com/Microsoft/TypeScript/issues/3410#issuecomment-111646030) closed as **By Design** or **Design Limitation**. (There are more, but I think other folks here know more about them than I do.)\n\nA few arguments I want to posit about this:\n- TypeScript is better than nothing/straight JS (I think most here would agree on this)\n- TypeScript's mission is to layer type-checking on top of JavaScript coding (taking this from TS's adherence to minimalism on top of ECMAScript, aside from types)\n- Its weaknesses can become worse than nothing, with time. Reasoning:\n  - Existence of TypeScript reduces community drive to implement another type-checked JS-based language competitor (since one already exists)\n  - Anchors the community to both the strengths and the limitations of the TS codebase, due to the above\n  - TypeScript type fundamentals only become harder to change with time (more language support = more legacy code); I personally believe there is a cliff here we may have already passed, but I really hope we haven't\n\nWhat I'm interested in knowing is whether the TypeScript community/team consider type-checking unsoundness as something that _should_ be fixed, given the opportunity. I can see a few different ways to handle these issues, and I'm very interested to hear from the TypeScript team which options they would lean towards (or none of the below):\n1. Keep long-lived tickets open for such limitations, with the goal of implementing a fix\n   - Pros:\n     - Collect use cases/examples in one place\n     - Provide a meter to community pressure to implement a fix\n     - Tickets can collect discussion on design/impl proposals, pros/cons/lessons learned of previous attempts, etc.\n     - Active tickets attract attention, and motivating developers to spend their free time on it\n   - Cons:\n     - Old ticket \"noise\"\n     - Tickets grow stale (lack of interest?)\n     - Easy for a few folks to derail one ticket's discussion\n     - Splintering of codebase (not sure when next-major-release branches are cut, but this could become difficult to maintain if the PRs come at the wrong time)\n2. Add a compiler flag to warn on known type unsoundness\n   - Pros:\n     - Probably easiest fix/patch on current code\n     - Smooths over a chunk of current developer needs (run the strict build occasionally, review warnings to make sure benign)\n   - Cons:\n     - Risks stagnation (solving some developers' needs also proportionally reduces the pressure for a proper fix)\n     - Not discoverable (warnings wouldn't be on by default, since they'd almost certainly be filled with false positive noise)\n3. Don't do anything, treat current design as dogma (but document unsoundness in one place)\n   - Pros:\n     - Easiest\n     - Aligns with mission? (hopefully not)\n     - At least provides visibility in one place (i.e. don't-do-this list)\n   - Cons:\n     - Stagnation\n     - Subverts mission? (maybe)\n     - Troubling future regarding treatment of \"legacy\" style bugs\n4. Really don't do anything\n   - Pros:\n     - Easiester\n   - Cons:\n     - Really?\n","author":{"url":"https://github.com/henryptung","@type":"Person","name":"henryptung"},"datePublished":"2016-07-19T17:49:53Z","url":"https://github.com/microsoft/TypeScript/issues/9825"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:70f429d6-2f6d-b5dd-6cf0-4c8222da60ac
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB6E:3A73AA:16DE6EB:1CEBF8A:6B01746F
html-safe-noncec85c42183f8469d49477f2b2a698f75d97629c941a97ad505fe1dae1aa8b5b73
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjZFOjNBNzNBQToxNkRFNkVCOjFDRUJGOEE6NkIwMTc0NkYiLCJ2aXNpdG9yX2lkIjoiNzM5NjMyNTc5ODg0MTUxMzA3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4c6834591e4be94b555b1837a5f8f60bcde1fcc0c4dcb54524dfc9de66c9ba06
hovercard-subject-tagissue:166392660
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/9825/issue_layout
twitter:imagehttps://opengraph.githubassets.com/08acc208b89526eb983e7fc354fac012ba0ac45debbb112e95e7c39e10a1b07d/microsoft/TypeScript/issues/9825
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/08acc208b89526eb983e7fc354fac012ba0ac45debbb112e95e7c39e10a1b07d/microsoft/TypeScript/issues/9825
og:image:altIn various issues, I've seen a tendency to treat some of TypeScript's type checking limitations (see #5786, #7933, #9765, #3410 (comment)) closed as By Design or Design Limitation. (There are more,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehenryptung
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/9825#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F9825
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F9825
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/9825
Reloadhttps://github.com/microsoft/TypeScript/issues/9825
Reloadhttps://github.com/microsoft/TypeScript/issues/9825
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9825
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9825
Type-checking unsoundness: standardize treatment of such issues among TypeScript team/community?https://github.com/microsoft/TypeScript/issues/9825#top
DiscussionIssues which may not have code impacthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%22
https://github.com/henryptung
Henry Tung (henryptung)https://github.com/henryptung
on Jul 19, 2016https://github.com/microsoft/TypeScript/issues/9825#issue-166392660
#5786https://github.com/microsoft/TypeScript/issues/5786
#7933https://github.com/microsoft/TypeScript/issues/7933
#9765https://github.com/microsoft/TypeScript/issues/9765
#3410 (comment)https://github.com/microsoft/TypeScript/issues/3410#issuecomment-111646030
Nexthttps://github.com/microsoft/TypeScript/issues/9825?timeline_page=1
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Jul 19, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-233718474
ByDesignScripthttps://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aclosed%20label%3A%22By%20Design%22%20
https://github.com/henryptung
Henry Tung (henryptung)https://github.com/henryptung
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-233810175
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-233813300
TypeScript is goinghttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-233815080
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-233843817
design meeting noteshttps://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3A%22Design%20Notes%22%20
parameter bi-variancehttps://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-function-parameters-bivariant
#274https://github.com/microsoft/TypeScript/issues/274
[1]https://github.com/Microsoft/TypeScript/wiki/Writing-Good-Design-Proposals
forkhttps://github.com/fdecampredon/jsx-typescript
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
DiscussionIssues which may not have code impacthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%22
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#event-729713251
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 20, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-234115900
https://news.ycombinator.com/item?id=11573213https://news.ycombinator.com/item?id=11573213
https://news.ycombinator.com/item?id=12108876https://news.ycombinator.com/item?id=12108876
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-234126868
https://github.com/henryptung
Henry Tung (henryptung)https://github.com/henryptung
on Jul 24, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-234756991
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/DemiMarie
Demi Marie Obenour (DemiMarie)https://github.com/DemiMarie
on Jul 26, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-235127253
https://github.com/rossberg
Andreas Rossberg (rossberg)https://github.com/rossberg
on Sep 22, 2016https://github.com/microsoft/TypeScript/issues/9825#issuecomment-248801617
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
https://github.com/DemiMarie
Demi Marie Obenour (DemiMarie)https://github.com/DemiMarie
on May 19, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-302595198
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on May 19, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-302612850
#15453 (comment)https://github.com/microsoft/TypeScript/issues/15453#issuecomment-298714271
https://github.com/facebook/flow/blob/c93897cd9d6ac6db703c8b9f0536f440a03d54f4/website/en/docs/lang/types-and-expressions.md#soundness-and-completeness-https://github.com/facebook/flow/blob/c93897cd9d6ac6db703c8b9f0536f440a03d54f4/website/en/docs/lang/types-and-expressions.md#soundness-and-completeness-
meta/flow#3702 (comment)https://github.com/meta/flow/issues/3702#issuecomment-293360271
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on May 19, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-302618711
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on May 19, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-302623551
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Dec 12, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-351157640
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Dec 13, 2017https://github.com/microsoft/TypeScript/issues/9825#issuecomment-351310378
amhttps://haxe.org/
nothttps://www.dartlang.org/
surehttp://coffeescript.org/
howhttp://elm-lang.org/
wellhttp://www.purescript.org/
ShalokShalom (@ShalokShalom)https://github.com/ShalokShalom
https://github.com/reverofevil
reverofevilhttps://github.com/reverofevil
on Jun 19, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-646770223
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/MartinJohns
Martin Johns (MartinJohns)https://github.com/MartinJohns
on Jun 19, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-646781940
TypeScript Design Goalshttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
https://github.com/reverofevil
reverofevilhttps://github.com/reverofevil
on Jun 19, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-646823806
https://github.com/csvn
Christian Svensson (csvn)https://github.com/csvn
on Jun 22, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-647541965
https://github.com/edrd-f
Eduardo Fonseca (edrd-f)https://github.com/edrd-f
on Jul 31, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-666905638
https://github.com/ShalokShalom
ShalokShalom (ShalokShalom)https://github.com/ShalokShalom
on Jul 31, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-667136921
https://github.com/mindplay-dk
Rasmus Schultz (mindplay-dk)https://github.com/mindplay-dk
on Oct 22, 2020https://github.com/microsoft/TypeScript/issues/9825#issuecomment-714257818
https://www.infoq.com/news/2020/05/hegel-type-checking-javascript/https://www.infoq.com/news/2020/05/hegel-type-checking-javascript/
https://github.com/somebody1234
somebody1234https://github.com/somebody1234
on Feb 10, 2023https://github.com/microsoft/TypeScript/issues/9825#issuecomment-1425042213
#51362 (comment)https://github.com/microsoft/TypeScript/issues/51362#issuecomment-1379621386
https://github.com/somebody1234
somebody1234https://github.com/somebody1234
on Feb 10, 2023https://github.com/microsoft/TypeScript/issues/9825#issuecomment-1425053410
https://github.com/guillaumebrunerie
Guillaume Brunerie (guillaumebrunerie)https://github.com/guillaumebrunerie
on Feb 25, 2023https://github.com/microsoft/TypeScript/issues/9825#issuecomment-1445172692
https://github.com/somebody1234
somebody1234https://github.com/somebody1234
on Feb 25, 2023https://github.com/microsoft/TypeScript/issues/9825#issuecomment-1445225907
Guillaume Brunerie (@guillaumebrunerie)https://github.com/guillaumebrunerie
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 23, 2024https://github.com/microsoft/TypeScript/issues/9825#event-11899237564
https://github.com/jimmy-zhening-luo
Jimmy Zhening Luo (jimmy-zhening-luo)https://github.com/jimmy-zhening-luo
on Nov 23, 2024https://github.com/microsoft/TypeScript/issues/9825#issuecomment-2495404702
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/9825
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9825
DiscussionIssues which may not have code impacthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.