TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Announcing TypeScript 2.0 RC

59 pointsby sagadotworldalmost 9 years ago

4 comments

mark_l_watsonalmost 9 years ago
Looks good!<p>I don&#x27;t do too much front end development but I like Typescript for another reason: the language is very readable and I have started to use it as executable easy to read &#x27;pseudocode&#x27; when I write, specifically for many of the examples in a new book I am writing on cognitive science. Concision and readability are important. I have started using Julia for the same reasons: the code is very concise and readable.
freditupalmost 9 years ago
There are a lot of other new features as well that were introduced in the 2.0-beta release: <a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;TypeScript&#x2F;wiki&#x2F;What&#x27;s-new-in-TypeScript#typescript-20" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;TypeScript&#x2F;wiki&#x2F;What&#x27;s-new-in-T...</a>
theprotocolalmost 9 years ago
I wish it were easier to gradually convert a codebase from JS into TS. You&#x27;d think it&#x27;d be straightforward, what with the claim that TS is a superset of JS, but the flag that makes the TS compiler accept regular JS files was only added in 1.8, and mixing and matching is still much clumsier than I&#x27;d like.<p>TS is also a bit too strict about requiring d.ts files for everything.<p>I&#x27;ve been on the fence about switching to TS in my project, but it&#x27;s a bit passive aggressive towards plain JS code.
bdcravensalmost 9 years ago
Is this a release candidate in the traditional Microsoft sense or the Angular 2 sense?
评论 #12397192 未加载