6 ms·
Microsoft has a potential winning strategy here vs. Dart. They are basically giving JS programmers no more than what they are directly asking for.
by stcredzero 13y ago
Microsoft has a potential winning strategy here vs. Dart. They are basically giving JS programmers no more than what they are directly asking for.
- Touche 13y agoI think this is more directed at C# users. The focus of TS is to let tooling (specifically Visual Studio) do the same stuff it does in C#. They tried and failed to make VS good for JS.
- nawitus 13y agoWell, even if it's directed at C# by Microsoft, it's used by a lot of people that are not into Visual Studio or Microsoft. TypeScript is a lot more than "IDE tooling", even though proper intellisense makes it a lot of nicer to develop. It's not like Microsoft somehow failed to make VS good for JS, it's theoretically impossible to make VS do to JS what TS can do for any IDE.
- shaneofalltrad 13y ago"it's used by a lot of people that are not into Visual Studio or Microsoft" Really? Who? I just don't see them or they must be really good at abstracting away this activity.
- brokenparser 13y agoI haven't seen any Papuan, ever. Doesn't mean they don't exist. As a side project, I'm creating a framework to build Gjs applications using TypeScript. The neat thing is that the compiler can easily create a combined JavaScript file, which when appended to a stub JS file results in a single executable for installation. The bad part is that the supplied lib.d.ts contains definitions for objects that don't exist. See https://wiki.gnome.org/JavaScript https://wiki.gnome.org/JavaScript
- jasallen 13y agoI love VS for javascript. With ReSharper installed it is great. I guess maybe I answered my own question by admitting I need a JetBrains tool in there but: What tool is so great for Javascript? I use Sublime a lot as well on my Mac, and I don't like it as well.
- Touche 13y ago> What tool is so great for Javascript? Chrome/Firefox dev tools.
- judah 13y agoAs a regular user of Chrome dev tools, they're nice, but it's no Visual Studio.
- mixonic 13y agojshint is an excellent tool for static analysis.
- colin_jack 13y agoFor me its Sublime and Chrome Dev Tools.
- Goosey 13y agoMy sibling comments (at time of post) point out Chrome/Firefox dev tools and jshint.. Which I also use every day integrated into the same development flow. Perhaps the question is better posed as "What IDE is so great for Javascript?" FWIW I use VS2012 for Javascript development daily. I also add in ReSharper, the wonderful Web Essentials extension (http://vswebessentials.com/ http://vswebessentials.com/) and a few other extensions I adore ('Productivity Power Tools 2012' and 'Highlight all occurrences of a selected word'). I find the result to be exceptionally good.
- sireat 13y agoWebstorm is pretty awesome for Javascript, but then again what else can you expect from JetBrains?
- jbigelow76 13y ago>They tried and failed to make VS good for JS VS 2013 is actually very nice for Javascript development. The only place it really falls down still is management for pure JS projects. SublimeText still beats it there for grouping JS files together just by folder instead of Visual Studio's need for clunky "solution" and "project" files. But Visual Studio's Angular support is awesome.
- pjmlp 13y ago> But Visual Studio's Angular support is awesome. Netbeans as of 7.4 seems also quite nice. Just as extra info. I also like VS.
- shaneofalltrad 13y agoExactly, with 1 or 2% of the market using TS the only reason to not use vanilla JS is because it is to complicated for you and you want to replicate a C# experience. That's a shame because you loose a lot of the advantages of pure JS. And, if you want to use an IDE over say vim or Notepads, then Webstorm is the best.
- kackontent 13y agoMy only gripe - VS is way too expensive, for my pocket at least. And you need VS to program in TS, Intellisense is that good. Sure, you can go with Express edition but then you don't have node.js extension - which kinda make the whole endeavour bit pointless (again, for me at least). Wish they would bring prices to the level of, for example, those of Jetbrains, or made node.js extension working with Express.
- nawitus 13y agoYou don't need VS for TS. Eclipse and WebStorm support it pretty well. I've evaluated Visual Studio, Eclipse and WebStorm, and Eclipse and WebStorm are better for TypeScript development, at least if you're using Node.js.
- kackontent 13y agoI tried WebStorm and found their support for TS severly lacking, IIRC it was limited to automatic compilation and basic syntax detecting. Code understanding/static type analysis was basically non-existent, e.g. it wasn't checking if argument conforms the interface described in the method's definition - you had to compile the script to find that out.
- nawitus 13y agoIt does check if the arguments are correct these days.
- malaporte 13y agoIn my experience, Typescript support in IntelliJ/Webstorm has always been sketchy --- so much that I find it quite unfair that they would mention this as a feature of the paying version. I still use it, but I often get invalid highlighting, etc.. Then I update to the latest EAP because it's supposed to fix this particular issue... and then other appear. Hmm, annoying... I tried the VS version as well, and there the highlighting and refactoring works very well... but the editor is waaaay slower so I always give up. Funny because it works fine when working with other languages such as C#.