programming-idioms icon indicating copy to clipboard operation
programming-idioms copied to clipboard

Add TypeScript language

Open Deleplace opened this issue 4 years ago • 3 comments

TypeScript is a programming language, superset of JavaScript, maintained by Microsoft.

The official TypeScript website offers a Playground.

Deleplace avatar Oct 13 '21 11:10 Deleplace

While TS shares a lot with JS, what is idiomatic in TS is not always equal to what is idiomatic in JS.

Deleplace avatar Oct 13 '21 11:10 Deleplace

Is this issue relevant? @Deleplace

xbt573 avatar Aug 27 '22 06:08 xbt573

Hi xbt573, thanks for your PR.

The challenge of course is not about "what's the code change to add TS to the list", it's rather about whether we should add it or not.

In order to move forward, we would need to:

  • agree that TS is sufficiently different from JS (it may or may not, I don't know enough about JS and TS to determine this),
  • determine a good, authoritative online document reference website for TS,
  • determine a good TS "playground" site that we can use to produce runnable demos with permalinks,
  • have many users ask for this addition,
  • have at least 4 or 5 users motivated enough to create many high-quality idiom implementations in TS, with doc links and demo links, and to curate the contents when something doesn't look right.

I'd love it if we could achieve this. Would you like to volunteer as a snippet contributor, once TS will be supported?

Deleplace avatar Sep 04 '22 13:09 Deleplace