8 ms·
TypeScript 3.0
- timdorr 8y agoPrevious discussion: https://news.ycombinator.com/item?id=17645799 https://news.ycombinator.com/item?id=17645799
- deleted 8y ago[deleted]
- mej10 8y agoThere is a typo in the first subheading: "Project Refrences"
- lcfcjs2 8y agoI thought this was announced months ago.
- peterkelly 8y agoYep, it was. Not sure why it's appearing on the front page now.
- vick18 8y agoWhat is the most effective way to get into TypeScript for programmer with pretty solid Java background? Are there any canonical books, educational OSS projects or perhaps another references? Thanks in advance!
- chaostheory 8y agoThe main documentation is a good place to start. Really all you need is that and Visual Code https://code.visualstudio.com/ https://code.visualstudio.com/ and you should be good to go.
- hamandcheese 8y agoAssuming you know JS already, TypeScript is quite easy, IMO, and the integration with VSCode is really nice. Just open up a .ts file and let the compiler teach you.
- pimterry 8y agoTypeScript's own docs are pretty friendly and in-depth for both reference or getting started: https://www.typescriptlang.org/docs/home.html https://www.typescriptlang.org/docs/home.html Alternatively, Basarat's guide is excellent, and works well as an intro followed by a detailed guide that you can work through step by step: https://basarat.gitbooks.io/typescript/docs/getting-started.html https://basarat.gitbooks.io/typescript/docs/getting-started....
- trampi 8y agoEx Java Developer Here, settled to full time Typescript now. For me it was the main documentation. Typescript will feel similar.
- mason55 8y agoStart with a project in vanilla JavaScript (try to write your code in an idiomatic JavaScript style). Keep building on it until it gets difficult to manage, then go add TypeScript to it. If you're not a JavaScript developer then that exercise will help you understand what a typical JavaScript project look like and where TypeScript adds value. I think that, as a Java dev, if you just start by writing TypeScript you're liable to write code that looks a lot like Java. Doing it this way helps you see TypeScript as "JavaScript with Types" instead of "Java in the browser"
- mercer 8y agoI'll second this approach provided you have some 'downtime' to work it all out. Things are much better now than when I started with TS, but it can still be a lot to take on all at once. Using TS from the start probably affects how you write your code, and it's definitely easier and less daunting to be faces with a ton of 'problems to fix'. But learning how to add TS to an existing project is a valuable skill to have.
- Shorn 8y agoDo try to remember that the Javascript build tooling mess is not Typescript's fault. If you just want to play with and learn Typescript, don't try to figure out the "right" way to build your project - just do whatever works for you while you're learning.
- TekMol 8y agoThese days, most people seem to be ok with having a compilation step in their workflow. I don't. I'm way more productive with a lighter stack. I stick to plain Javascript. Sometimes I add a lightweight framework like Vue that I can simply include. Are there more of us out there?
- phamilton 8y agoDo you use an IDE?
- TekMol 8y agoNo.
- finaliteration 8y agoI’m genuinely curious: Why are you not okay with the compilation step? I work primarily as a developer using compiled languages so I may be missing something.
- TekMol 8y agoThere are many aspects to it. From setting up a new project to 'edit a line and reload in the browser'. Everything feels so much faster, lighter, fresher.
- deleted 8y ago[deleted]
- stefanfisk 8y agoI'm one of many who don't seem to understand your point of view. how would editing and reloading be faster than hot reloading? I usually edit my styling live in Sublime while viewing the changes in Chrome.
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- matchbok 8y agoThe future of javascript - decided. Any reasonably large JS project crumbles under its own weight. TS fixes all this. So glad to see it move forward.
- beavis2 8y ago> This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use.
- eecks 8y agoWhat's the best IDE to use with TypeScript on a macbook?
- sigzero 8y agoProbably vscode or a Jetbrains IDE.
- simplify 8y agoI personally use sublime. In-editor error messages and intelligent autocomplete are a godsend.
- phaedryx 8y agoVSCode
- plexicle 8y agoVS Code is great. But "best" is pretty subjective.
- eecks 8y agoAgreed but VS Code has been mentioned a few times. I'll go with that one for now.
- mason55 8y agoVS Code works well for me. Both TypeScript & VS Code are made by Microsoft so they work pretty well together.
- floo 8y agoI've been using WebStorm on Windows and Linux, it is also available for macOS. Can really recommend all the JetBrains IDEs!
- peterkelly 8y agoPersonally I use Sublime these days, but Atom and Visual Studio Code are also excellent choices. I'd say they're all tied pretty closely for the leading spot, so the choice is really a matter of personal preference.
- bricss 8y agoTypes Obsession Syndrome?