Channel 9 Forums - Coffeehouse - TypeScript is JavaScript...http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.pngChannel 9 Forums - Coffeehouse - TypeScript is JavaScript...http://channel9.msdn.com/Forums
Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.http://channel9.msdn.com/Forums
enWed, 04 Mar 2015 00:34:32 GMTWed, 04 Mar 2015 00:34:32 GMTRev9113-113-1Coffeehouse - TypeScript is JavaScript...I know some 9ers never attend anywhere but for the forum so link is here.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/3225509c2642407688dda0dd011db94a#3225509c2642407688dda0dd011db94a
Mon, 01 Oct 2012 17:20:17 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/3225509c2642407688dda0dd011db94a#3225509c2642407688dda0dd011db94aVesuvius113http://channel9.msdn.com/Niners/vesuvius/Discussions/RSSCoffeehouse - TypeScript is JavaScript...how do I test out the result on my IE or other browsers? I mean, is it hard to read the compiled code?]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/978969975fc7401186e5a0dd0143fe50#978969975fc7401186e5a0dd0143fe50
Mon, 01 Oct 2012 19:39:37 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/978969975fc7401186e5a0dd0143fe50#978969975fc7401186e5a0dd0143fe50magicalclick113http://channel9.msdn.com/Niners/magicalclick/Discussions/RSSCoffeehouse - TypeScript is JavaScript...The compiled code is very easy to read. After all, TypeScript is a Javascript feature superset. So it's not the end of anything but another path to Javascript. Go watch the video!]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/65caf8cb833d4ec29d33a0dd014b8b6f#65caf8cb833d4ec29d33a0dd014b8b6f
Mon, 01 Oct 2012 20:07:07 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/65caf8cb833d4ec29d33a0dd014b8b6f#65caf8cb833d4ec29d33a0dd014b8b6fBent Rasmussen113http://channel9.msdn.com/Niners/exoteric/Discussions/RSSCoffeehouse - TypeScript is JavaScript...It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/a39a19f1686442f28e87a0dd018b7784#a39a19f1686442f28e87a0dd018b7784
Mon, 01 Oct 2012 23:59:51 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/a39a19f1686442f28e87a0dd018b7784#a39a19f1686442f28e87a0dd018b7784Bass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass:Yeah but it is not supported by a big powerhouse software company.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/902bd17cd98b48f1923ba0de0008f803#902bd17cd98b48f1923ba0de0008f803
Tue, 02 Oct 2012 00:32:39 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/902bd17cd98b48f1923ba0de0008f803#902bd17cd98b48f1923ba0de0008f803TexasToast113http://channel9.msdn.com/Niners/TexasToast/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.

The whole point of this is to add static typing to JavaScript. Whether you think that's a good idea or not, a language that doesn't do that isn't doing "it", better or otherwise.

Just watched the video. Looks promising. With enough tutorial and community support, I will totally jump on it.

Didn't see watch it clearly, but, how do I mix and match JavaScript? I mean, if I didn't include the declaration file, can I still use it? So, what is going to happen when I use TypeScript to a method that takes ANY and return ANY?

One scenario is that I want to have a strange method that can basically works for ANY. Like perhaps adding new attribute to ANY type? I don't know if this is possible in JS yet, but, I remember a bit that this can be done.

It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.

This makes no sense. "X has been done before except while not doing X."

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/bb74a8caae344812abf4a0de00b191f7#bb74a8caae344812abf4a0de00b191f7
Tue, 02 Oct 2012 10:46:30 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/bb74a8caae344812abf4a0de00b191f7#bb74a8caae344812abf4a0de00b191f7Charles113http://channel9.msdn.com/Niners/Charles/Discussions/RSSCoffeehouse - TypeScript is JavaScript...How about JavaScript is finally Dead. Long live TypeScript!]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/dbd871eea7b544caa3b2a0de00d88464#dbd871eea7b544caa3b2a0de00d88464
Tue, 02 Oct 2012 13:08:18 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/dbd871eea7b544caa3b2a0de00d88464#dbd871eea7b544caa3b2a0de00d88464TexasToast113http://channel9.msdn.com/Niners/TexasToast/Discussions/RSSCoffeehouse - TypeScript is JavaScript...Ha, maybe it should be called TurboJavaScript ]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/a90d7636b69042df8220a0de00f59808#a90d7636b69042df8220a0de00f59808
Tue, 02 Oct 2012 14:54:10 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/a90d7636b69042df8220a0de00f59808#a90d7636b69042df8220a0de00f59808felix9113http://channel9.msdn.com/Niners/felix9/Discussions/RSSCoffeehouse - TypeScript is JavaScript...So I would describe TypeScript as a Decorator for JavaScript; wrapping it and adding additional features. Seems like a pragmatic approach to make the most of the current technology without expecting everyone to adopt a new standard.

It's a signature of Coffeehouse to have misleading thread titles for dramatic effect, annoying as it can be

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f4e8e5aaa6884bec9475a0de0103284d#f4e8e5aaa6884bec9475a0de0103284d
Tue, 02 Oct 2012 15:43:33 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f4e8e5aaa6884bec9475a0de0103284d#f4e8e5aaa6884bec9475a0de0103284dBent Rasmussen113http://channel9.msdn.com/Niners/exoteric/Discussions/RSSCoffeehouse - TypeScript is JavaScript...First I see this as a good thing. a) It's open source, how can that be bad?, b) Already I see some die hard Microsoft fanbois (yes, there are some of those left ) who swore they wouldn't touch JS with a 10 meters pole hailing this as the thing which saved JS. Good for you. Please use this.

I have said before on the IE blog, "Microsoft was brought into HTML5 screaming and kicking", after a long detour into Silverlight. So now I say: Microsoft came into open source screaming and kicking, but came it did. Welcome (not that I am a great OS contributor, or any contributor).

I'm just curious what's Anders, or Microsoft, take on releasing dotnet on the same terms, or when he came to realize that open source was any good. (I'm not saying that all the great guys who contribute to open source were like that for their entire professional life, but still, it seems Microsoft were last, please close the door after you )

EDIT: And for that matter, and i'm sure Andres isn't reading this, but what's your take on Microsoft calming Linux infringes on 287 or so of their patents??

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/59efdf84614c402ba6d2a0de010514b8#59efdf84614c402ba6d2a0de010514b8
Tue, 02 Oct 2012 15:50:33 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/59efdf84614c402ba6d2a0de010514b8#59efdf84614c402ba6d2a0de010514b8fanbaby113http://channel9.msdn.com/Niners/fanbaby/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@fanbaby: This is hardly the first open source project MS has done. Parts of .Net's web stack, like ASP.NET MVC, have been open source for a while now.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/d81d8f43f984449f8f58a0de0105cba2#d81d8f43f984449f8f58a0de0105cba2
Tue, 02 Oct 2012 15:53:10 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/d81d8f43f984449f8f58a0de0105cba2#d81d8f43f984449f8f58a0de0105cba2Sven Groot113http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@fanbaby: .NET 4.5 source code is available http://blogs.msdn.com/b/dotnet/archive/2012/08/15/announcing-the-release-of-net-framework-4-5-rtm-product-and-source-code.aspx

It isn't open source, but it is fantastic to be able to debug

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f1ad7392842646ecb8a8a0de01066458#f1ad7392842646ecb8a8a0de01066458
Tue, 02 Oct 2012 15:55:20 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f1ad7392842646ecb8a8a0de01066458#f1ad7392842646ecb8a8a0de01066458Vesuvius113http://channel9.msdn.com/Niners/vesuvius/Discussions/RSSCoffeehouse - TypeScript is JavaScript...Just to add to my post, open source is great isn't it? We live in a great time. OS is the great equalizer. How else can a single guy create something, say jQuery or CoffeeScript, which decimates other work by large teams, whether open or close.

So today Microsoft added yet ANOTHER transpiler. Great. News at 9. You see, in this new world, the fact that it's Microsoft, or Google, or Apple or anyone, means nothing.

So today Microsoft added yet ANOTHER transpiler. Great. News at 9. You see, in this new world, the fact that it's Microsoft, or Google, or Apple or anyone, means nothing.

LOL, only in fanboy dreams. FOSS projects without substantial backing are high risk options and always will be. Nobody wants to bet heavily on something that disappears overnight because the kid responsible for it got a real job/bored/went to college etc.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/80f0871ce0dc403484d0a0de011959ec#80f0871ce0dc403484d0a0de011959ec
Tue, 02 Oct 2012 17:04:22 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/80f0871ce0dc403484d0a0de011959ec#80f0871ce0dc403484d0a0de011959ecAndyC113http://channel9.msdn.com/Niners/AndyC/Discussions/RSSCoffeehouse - TypeScript is JavaScript...It looks like something significant to the way they've implemented this is that they are keeping it compatible with ECMAScript 6. So, at some point, TypeScript may just simply be ECMAScript. They'll probably continue to add to what they support, but this is a good start.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/7bc9da7969314e15ba0ba0de011bc1f1#7bc9da7969314e15ba0ba0de011bc1f1
Tue, 02 Oct 2012 17:13:07 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/7bc9da7969314e15ba0ba0de011bc1f1#7bc9da7969314e15ba0ba0de011bc1f1kettch113http://channel9.msdn.com/Niners/kettch/Discussions/RSSCoffeehouse - TypeScript is JavaScript...I like what I'm seeing! If nothing else, this could be a great test bed/proving ground for the features MS wants in ECMAScript 6.

The holy grail for me would be to get optional end-to-end data binding of the entire view including 1 > M relationships in the client to/from the web server via command scaffolding. This looks 1 step closer in that direction.

The obvious fix would be to disable "type" checking in the compiler. I notice that in their playground, "type" mismatches only produce warnings, so I assume it is possible.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/3ce96b8bc9904908b5d2a0de014ba9f1#3ce96b8bc9904908b5d2a0de014ba9f1
Tue, 02 Oct 2012 20:07:33 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/3ce96b8bc9904908b5d2a0de014ba9f1#3ce96b8bc9904908b5d2a0de014ba9f1Bass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass: Almost the entire purpose of this is for type checking, why would I turn it off? I can add properties to interfaces, that I create, and that seems to clear that type of error.

And interfaces don't seem to collide with each other. I guess they are just merged some how. Last in wins?

Any time you save by not typing out types is more than made up hunting bugs that would trigger compile-time errors in any good language.

Case in point: When did you last reuse code? How many JavaScript libraries have you made? When you start a new webpage, how much time do you spend writing code you've already written before? When was the last time you got to debug an exception that happened on a customer's machine or step through your code?

But now that you made me think about it, this process deserves scrutiny. If I add "i = 7" and commit comment "assigned 9 to i", I'm pretty sure every version control in existence will gladly accept this clear deception. That is a bug, and a dangerous one at that.

But now that you made me think about it, this process deserves scrutiny. If I add "i = 7" and commit comment "assigned 9 to i", I'm pretty sure every version control in existence will gladly accept this clear deception. That is a bug, and a dangerous one at that.

That's not a bug, it's a reason to fire a bad programmer.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f77a2c519c9649d18abda0df001a7bb8#f77a2c519c9649d18abda0df001a7bb8
Wed, 03 Oct 2012 01:36:25 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/f77a2c519c9649d18abda0df001a7bb8#f77a2c519c9649d18abda0df001a7bb8Joshua Ross113http://channel9.msdn.com/Niners/JoshRoss/Discussions/RSSCoffeehouse - TypeScript is JavaScript...I don't like the philosophy behind commenting code. It seems to imply that the code itself isn't understandable. And that is the fundamental problem.

Either:

The author can't write understandable code.

The reader isn't qualified enough to understand the code, and shouldn't be let anywhere near it .. comments or not.

The language isn't expressive enough.

IMO, this is in order of commonality. All these are some kind of failure. Comments thus are a crutch for some kind of deeper failure in the code, organization doing the commenting, or programming language.

If comments were docile, I'd let it pass. But from the perspective of the machine, they aren't falsifiable. So:

They can outright lie (maliciously even.. only code can be trusted) or get stale or just wrong over time.

They can't be proven correct (see: unit tests for an informal but pretty effective way of testing the functionality of code, AFAIK no equivalent exists for comments).

I feel that adding the ability to comment code is up there with the "null" type in the fail department of programming languages, ie. one of the worst ideas to ever grace the programming profession.

Unfortunately, because comments are so easy to add to programming languages, they will continue on forever I'm sure.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/4d10efecea1443af8c0fa0df001c29db#4d10efecea1443af8c0fa0df001c29db
Wed, 03 Oct 2012 01:42:32 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/4d10efecea1443af8c0fa0df001c29db#4d10efecea1443af8c0fa0df001c29dbBass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass: So you have never had a situation where you've gone "this is a really clever but complex solution to a difficult problem, I'd better add a line of text to explain it"?

Or even "this is a really ugly hack but it's necessary, better explain why I did it lest this code end up on thedailywtf"?

Comments that explain what you are doing are bad, for reasons you say (except in documentation comments since as the consumer of a method I don't want to have to read the code). But comments that explain why you are doing something are absolutely indispensable. And if your algorithm is complex enough, I'd rather read a few lines of text (with the possibility that they might be stale or wrong) than weed through 1000s of lines of codes in the hopes of figuring it out.

Just to add to my post, open source is great isn't it? We live in a great time. OS is the great equalizer. How else can a single guy create something, say jQuery or CoffeeScript, which decimates other work by large teams, whether open or close.

So today Microsoft added yet ANOTHER transpiler. Great. News at 9. You see, in this new world, the fact that it's Microsoft, or Google, or Apple or anyone, means nothing.

Well said - though you might be surprised at how many important projects at Microsoft are the responsibility, code-wise, of basically one developer or a small team ...

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/989c62726a9a46dc98baa0df002c5fbc#989c62726a9a46dc98baa0df002c5fbc
Wed, 03 Oct 2012 02:41:33 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/989c62726a9a46dc98baa0df002c5fbc#989c62726a9a46dc98baa0df002c5fbccontextfree`113http://channel9.msdn.com/Niners/contextfree`/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass: Code that is self-evident with respect to what it does isn't necessarily self-evident with respect to WHY it was done a particular way. Programming is about choices, and you sometimes have to explain why you took a particular choice over another. I personally don't comment my code much, but this is one of the few reasons for which I comment even when I'm the only one to read the comment.

As for nulls, they're not usually types per se. They simply add to the range of possible values for a given type. I find the concept useful.

OTOH, I think the difference between == and === operators is one of the most retarded concepts ever invented.

I don't like the philosophy behind commenting code. It seems to imply that the code itself isn't understandable. And that is the fundamental problem.

Either:

The author can't write understandable code.

The reader isn't qualified enough to understand the code, and shouldn't be let anywhere near it .. comments or not.

The language isn't expressive enough.

IMO, this is in order of commonality. All these are some kind of failure. Comments thus are a crutch for some kind of deeper failure in the code, organization doing the commenting, or programming language.

If comments were docile, I'd let it pass. But from the perspective of the machine, they aren't falsifiable. So:

They can outright lie (maliciously even.. only code can be trusted) or get stale or just wrong over time.

They can't be proven correct (see: unit tests for an informal but pretty effective way of testing the functionality of code, AFAIK no equivalent exists for comments).

I feel that adding the ability to comment code is up there with the "null" type in the fail department of programming languages, ie. one of the worst ideas to ever grace the programming profession.

Unfortunately, because comments are so easy to add to programming languages, they will continue on forever I'm sure.

I agree with the principle, but I think you are taking things too far.

Just to make an example, the readability of any piece of code is strongly correlated to how meaningful are the identifiers the programmer chose. Yet, identifers are just as unverifiable and potentially misleading as comments.

If anything, yours are excellent arguments for the introduction of optional type annotations as they make it easier for programmers to express the intent of the code, when needed, and provide some implicit verifiability.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/578b323f27034d8195e9a0df00331d9a#578b323f27034d8195e9a0df00331d9a
Wed, 03 Oct 2012 03:06:06 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/578b323f27034d8195e9a0df00331d9a#578b323f27034d8195e9a0df00331d9aBlue Ink113http://channel9.msdn.com/Niners/Blue Ink/Discussions/RSSCoffeehouse - TypeScript is JavaScript...In case you haven't looked through the questions on stackoverflow, here is your chance. Some of these questions, and some of these answers, are pretty good.

LOL, only in fanboy dreams. FOSS projects without substantial backing are high risk options and always will be. Nobody wants to bet heavily on something that disappears overnight because the kid responsible for it got a real job/bored/went to college etc.

While it's true there are risks for using FOSS stuff Microsoft has left people high and dry too.

VBScript

J#

FoxPro

WPF/SL

WP7

I used to think Microsoft was in it for the long game but it's pretty clear with what they did with WP7 and WPF/SL and now their replacement that locks you into W8 that it's "use at your own risk". There is no difference in Microsoft "supporting" a deprecated language, API, etc. or a FOSS project that goes dark. You can still use both stacks they're just not going anywhere. At least if you're desperate for a fix in a FOSS project you can get the source and fix it yourself.

That said I do give Microsoft credit for embracing FOSS stuff like node.js, jquery, etc. It helps balance things out a bit.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/6e514dd35e1941a7a547a0df00408b8d#6e514dd35e1941a7a547a0df00408b8d
Wed, 03 Oct 2012 03:55:00 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/6e514dd35e1941a7a547a0df00408b8d#6e514dd35e1941a7a547a0df00408b8dDeathByVisualStudio113http://channel9.msdn.com/Niners/DeathByVisualStudio/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@DeathByVisualStudio: And Windows Mobile, but that was junk. But, if they were any good, people would still be using them. These tools are like sharks, if they aren't moving forwards, then they are dead.

@DeathByVisualStudio: And Windows Mobile, but that was junk. But, if they were any good, people would still be using them. These tools are like sharks, if they aren't moving forwards, then they are dead.

-Josh

No argument there; just that Microsoft is no better. And they have that nagging thing called a profit motive hanging over their heads...

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/ddcdd91ac5d842ff9314a0df00509c16#ddcdd91ac5d842ff9314a0df00509c16
Wed, 03 Oct 2012 04:53:29 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/ddcdd91ac5d842ff9314a0df00509c16#ddcdd91ac5d842ff9314a0df00509c16DeathByVisualStudio113http://channel9.msdn.com/Niners/DeathByVisualStudio/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@DeathByVisualStudio: At this point, I would say that Microsoft is doing FOSS better than the other companies who present themselves as champions of FOSS.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/be79008f96dd4a89b2b7a0df005124c1#be79008f96dd4a89b2b7a0df005124c1
Wed, 03 Oct 2012 04:55:26 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/be79008f96dd4a89b2b7a0df005124c1#be79008f96dd4a89b2b7a0df005124c1kettch113http://channel9.msdn.com/Niners/kettch/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

I don't like the philosophy behind commenting code. It seems to imply that the code itself isn't understandable. And that is the fundamental problem.

So you are a mind reader aren't you. You can predict perfectly what the intent of the previous programmer's design decisions by just looking at its code.

Sometimes you see code that doesn't do exactly what you would expect, but, for good reasons. If they don't leave a comment to why they decided to implement this way, you would just think they are nuts.

@DeathByVisualStudio: At this point, I would say that Microsoft is doing FOSS better than the other companies who present themselves as champions of FOSS.

Really? How so? Just curious.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/857ebf9449c840689306a0df00551fec#857ebf9449c840689306a0df00551fec
Wed, 03 Oct 2012 05:09:55 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/857ebf9449c840689306a0df00551fec#857ebf9449c840689306a0df00551fecDeathByVisualStudio113http://channel9.msdn.com/Niners/DeathByVisualStudio/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@DeathByVisualStudio: They are the most upfront about what they are doing. Companies like Google and Apple seem to be hiding behind the FOSS banner and using it for their own purposes, but don't seem to give back as much as they take.

Microsoft doesn't use any FOSS in their products, but gives a whole lot to the community. They aren't even pushing their own branded licenses any more and are instead using licenses that are more palatable to the FOSS fanbois.

It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.

Well, just because it's been done before is no reason not to try to make it better. And what's wrong with static type checking? Won't that mean less errors (especially for inexperienced programmers) and more speed?

@Ray7: Except Typescript is not the same idea as CoffeeScript or Kotlin!

CoffeeScript and Kotlin are new languages, while TypeScript is a language extension; that's why it's different from previous attempts.

Herbie

Ah, I see. So there's the 'familiarity' thing ...

Verrry interesting ....

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/c2539f43398a4608868da0df00d5a15c#c2539f43398a4608868da0df00d5a15c
Wed, 03 Oct 2012 12:57:48 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/c2539f43398a4608868da0df00d5a15c#c2539f43398a4608868da0df00d5a15cRay7113http://channel9.msdn.com/Niners/Ray7/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Ray7: Also, you can rename your existing JavaScript files to a TS extension and hey-presto, they're valid as Typescript; easy transition is important when there is a whole world of JavaScript already out there -- nobody is likely to throw away an entire site's worth of JavaScript and rewrite in CoffeeScript, but they might rename some files and run it through the TypeScript compiler as a starting point ...

@Ray7: Also, you can rename your existing JavaScript files to a TS extension and hey-presto, they're valid as Typescript; easy transition is important when there is a whole world of JavaScript already out there -- nobody is likely to throw away an entire site's worth of JavaScript and rewrite in CoffeeScript, but they might rename some files and run it through the TypeScript compiler as a starting point ...

Herbie

Okay, how does the compiler work? It says that it runs on any OS anywhere, yes? So I don't need VS to compile this?

@DeathByVisualStudio: They are the most upfront about what they are doing. Companies like Google and Apple seem to be hiding behind the FOSS banner and using it for their own purposes, but don't seem to give back as much as they take.

Microsoft doesn't use any FOSS in their products, but gives a whole lot to the community. They aren't even pushing their own branded licenses any more and are instead using licenses that are more palatable to the FOSS fanbois.

Hmmm... I'd agree about Apple; can't think of anything they've contributed. Maybe bug fixes to webkit, mach? Google on the other-hand does plenty...open source Android for starters. If anything they endorse and legitimize FOSS projects much like Microsoft does. I'm also glad Google battled Oracle over java to keep Oracle from locking that beast down and trying to monetize it.

I just wish people would stop polarizing around specific tech or companies. It's one thing to say something or someone sucks; it's an entirely different thing to take up the life long cause of being an apologist for a given tech or company. That's just a general statement and not directed at you or anyone. Being an apologist, fanboi, or otherwise removes critical thinking from the equation and limits growth.

Most commercial companies support open source up to a point. The 'point' is where it starts to impact their profits.

I just wish people would stop polarizing around specific tech or companies. It's one thing to say something or someone sucks; it's an entirely different thing to take up the life long cause of being an apologist for a given tech or company. That's just a general statement and not directed at you or anyone. Being an apologist, fanboi, or otherwise removes critical thinking from the equation and limits growth.

In my experience, those who label others as 'apologists' and/or 'fanbois' are usually both.

I'm not sure if this is the case, but if they aim to be a compatible superset of JavaScript (and from the renaming stuff Herbie has been mentioning it sounds like they do) that would break any regular JavaScript code that happens to include stuff like that in a string.

I'm not sure if this is the case, but if they aim to be a compatible superset of JavaScript (and from the renaming stuff Herbie has been mentioning it sounds like they do) that would break any regular JavaScript code that happens to include stuff like that in a string.

Mmmm. Yes, that makes a lot of sense,

I guess that is the problem if you're aiming to extend rather than come up with a new language. Fairynuff.

Have you watched the C9 video yet? Because that explained about everything. For example, the new constructor is mapped to the JS pattern that defines constructor. If you don't want to do that, you can use method for that. But you need to think about Type. Meaning, you can pass in a Object that has specific student attributes, but, you cannot say obj.SetSrudentAttrributes().

You don't need to rewrite the source, but, you need to give a type declaration xx.d.ts file. So TS would know know it is not ANY yet. If you pass in pure JS, the type is ANY, which I dont know how the IDE deal with it. Probably in the same video that I need to rewatch.

Do we really need a constructor? Why not just a member function to set the values?

Can you prevent a member function from being called more than once on the same instance?

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/006e203cd2f9414e9a64a0df00ff3c23#006e203cd2f9414e9a64a0df00ff3c23
Wed, 03 Oct 2012 15:29:16 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/006e203cd2f9414e9a64a0df00ff3c23#006e203cd2f9414e9a64a0df00ff3c23cbae113http://channel9.msdn.com/Niners/cbae/Discussions/RSSCoffeehouse - TypeScript is JavaScript...Ray7: tsc can simply compile itself to JS file, so you can use it as embedded scripting precompiler, which exposes everything useful for you too, types "reflections", refactorings, code analysis, syntax coloring, etc ... its pure-JS, thats the trick , no VS needed, no node.js needed ...........]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/20f266541de947acaadea0df01292cf7#20f266541de947acaadea0df01292cf7
Wed, 03 Oct 2012 18:01:59 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/20f266541de947acaadea0df01292cf7#20f266541de947acaadea0df01292cf7petr.antos113http://channel9.msdn.com/Niners/petr.antos/Discussions/RSSCoffeehouse - TypeScript is JavaScript...Ray7: and as probably biggest TS project now, tsc source code in few .ts files is really very good start to analyze tooling features support using VS2012 plugin, to try to understand how it works. Already this is pure beauty, you have open compiler interface at aour fingertips, you can skip to definitions, find references, simply everything you do to figure out how yet unknown code works; so good to learn how much MS eats own dog food (not foot:-)) here ]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/9a21841aa14b4424a092a0df012a7698#9a21841aa14b4424a092a0df012a7698
Wed, 03 Oct 2012 18:06:40 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/9a21841aa14b4424a092a0df012a7698#9a21841aa14b4424a092a0df012a7698petr.antos113http://channel9.msdn.com/Niners/petr.antos/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

Ray7: and as probably biggest TS project now, tsc source code in few .ts files is really very good start to analyze tooling features support using VS2012 plugin, to try to understand how it works. Already this is pure beauty, you have open compiler interface at aour fingertips, you can skip to definitions, find references, simply everything you do to figure out how yet unknown code works; so good to learn how much MS eats own dog food (not foot:-)) here

I think the big win here is the compiling compiler. And I think MS clearly recognises that they'll get much more traction by extending Javascript rather than writing a new language.

I'd like to announce that I've just made TypeScript Compile, a client-side script which compiles your TypeScript into JavaScript on the fly. No need for tsc, node.js or VS. Just write your TC code in <script> just like JS and include TypeScript Compile. The code will compile and run automatically.

Please tell me what you think about it and fork the code if you'd like to improve it.

I'm not sure if this is the case, but if they aim to be a compatible superset of JavaScript (and from the renaming stuff Herbie has been mentioning it sounds like they do) that would break any regular JavaScript code that happens to include stuff like that in a string.

Now I think about it, it would be just as easy to come up with a String function that does the same thing.

Have you watched the C9 video yet? Because that explained about everything. For example, the new constructor is mapped to the JS pattern that defines constructor. If you don't want to do that, you can use method for that. But you need to think about Type. Meaning, you can pass in a Object that has specific student attributes, but, you cannot say obj.SetSrudentAttrributes().

You don't need to rewrite the source, but, you need to give a type declaration xx.d.ts file. So TS would know know it is not ANY yet. If you pass in pure JS, the type is ANY, which I dont know how the IDE deal with it. Probably in the same video that I need to rewatch.

Yes, I think I have this rather set idea about dynamic languages: objects should just be THERE, sort of a thing. But of course, once you start adding types then all bets are off really.

@DeathByVisualStudio: They are the most upfront about what they are doing. Companies like Google and Apple seem to be hiding behind the FOSS banner and using it for their own purposes, but don't seem to give back as much as they take.

Microsoft doesn't use any FOSS in their products, but gives a whole lot to the community. They aren't even pushing their own branded licenses any more and are instead using licenses that are more palatable to the FOSS fanbois.

I understand your point about Google and Apple just using OS contributors, while Microsoft is at least being honest. Don't agree tough.

I am more interested to understand someone who DOESN'T see him/herself as a "FOSS fanboi". How does that work? On the face of it it looks like this: "Hey, here's a small jewel for you, it's yours, it's free! No thanks, i'll wait when it'll be available at the store".

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/6cc1b514f3cd42838ddea0e0007e0706#6cc1b514f3cd42838ddea0e0007e0706
Thu, 04 Oct 2012 07:38:51 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/6cc1b514f3cd42838ddea0e0007e0706#6cc1b514f3cd42838ddea0e0007e0706fanbaby113http://channel9.msdn.com/Niners/fanbaby/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@fanbaby: Part of the problem (in my experience) is quality control -- taking a 'jewel' from someone you don't know might well turn out to be made of paste, or even worse contain arsenic that poisons everything.

At least if a big company releases something open you can have a higher level of confidence that the quality will be good without having to spend the time performing your own quality control.

Additionally, larger companies tend not to use the latest GPL which I have come to dislike for being too dictatorial (and therefore less 'free', ironically).

@fanbaby: Part of the problem (in my experience) is quality control -- taking a 'jewel' from someone you don't know might well turn out to be made of paste, or even worse contain arsenic that poisons everything.

At least if a big company releases something open you can have a higher level of confidence that the quality will be good without having to spend the time performing your own quality control.

Additionally, larger companies tend not to use the latest GPL which I have come to dislike for being too dictatorial (and therefore less 'free', ironically).

Herbie

I've rarely had a problem with the quality of an OSS product; the issue is usually that the project gets abandoned.

But this can happen with commercial software, so ...

With someone like Microsoft running this, you can guarantee that the whole shooting match will be well documented, something that OS often lacks.

I've rarely had a problem with the quality of an OSS product; the issue is usually that the project gets abandoned.

But this can happen with commercial software, so ...

Yes, but if you're paying a company money, you have some kind of recourse on them to ensure that they patch their product and continue to support it whilst you keep paying.

Joe-in-his-bedroom has no real incentive to produce high-quality code, or to provide prompt patches or to support your product beyond a few weeks after it becomes business critical to your company.

Case in point: IE6 might be possibly the worst invention since sliced-bread, but it was absolutely business critical to a ton of organisations. It was supported by Microsoft for a full 10 years whilst they had 3 newer major versions available. Microsoft would still patch IE6 for critical updates long after Microsoft was actively telling customers not to use it.

The upshot of this was that companies for whom IE6 was critical, didn't have to fight the ideology of companies like Google who silently update, remove features, swap things around and generally play shenanigans with any business's attempt to script the browser or bundle it into business critical apps.

So yes, Chrome might be great for normal home-users, but it (and FOSS projects like it) are never going to be loved by enterprise in the way that IE is loved, because enterprise wants programs to be supported and reliable for as long as at all possible. Whereas FOSS developer like to change things, give users (rather than administrators) lots of customisations, like to support only the most recent version, and like having seamless, non-optional updates that make it incredibly difficult for large organisations to deploy.

FOSS is great for home, but it really sucks for companies.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/eadb3c2c598e42e6be42a0e10087209e#eadb3c2c598e42e6be42a0e10087209e
Fri, 05 Oct 2012 08:11:59 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/eadb3c2c598e42e6be42a0e10087209e#eadb3c2c598e42e6be42a0e10087209eevildictaitor113http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@evildictaitor: Very true. But even with projects from Google, the king of abandonware, enterprises are more inclined to have trust in a product because there is at least somewhere they can go and offer money to get a fix if they get desperate. And there's likely to be more than one guy working on fixing critical bugs. You just don't get that level of confidence when it's a project mostly driven by one individual, which the majority of FOSS projects are.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/e608ed7a3be247b7b95ea0e1008fc519#e608ed7a3be247b7b95ea0e1008fc519
Fri, 05 Oct 2012 08:43:27 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/e608ed7a3be247b7b95ea0e1008fc519#e608ed7a3be247b7b95ea0e1008fc519AndyC113http://channel9.msdn.com/Niners/AndyC/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@AndyC:

That's the thing, because it is open source it's much easier to offer money to get a fix because you have options. Hell, you can fix it yourself!

If the software is proprietary, good luck with that. The proprietary originator might have even went bankrupt and the source code lost in the chaos. Hell, the whole idea that you'd trust parts of your critical business systems to a random external vendor with different business interests is crazy.

Actually, this exact reason is why many of the larger organizations use FOSS over proprietary software these days. FOSS gives a piece of mind that is impossible with proprietary software.

The idea that Microsoft doesn't use FOSS is strictly incorrect. In fact jQuery is bundled with ASP.NET MVC these days. Obviously they use Git and Mercurial source control too. This is all stuff that is publicly known, there also evidence (copyright strings, etc.) that Windows had BSD code in for awhile, and some evidence that Microsoft used Hadoop/HBase in Bing at some point (well, PowerSet was, which was bought by Microsoft - I highly doubt they threw away all of PowerSet's code on the day they acquired them).

But the thing is, it doesn't matter. You aren't a better FOSS contributor if you avoid using it. Really, the whole contention is silly.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/15eacdd2db7c48c5a115a0e1012c9f04#15eacdd2db7c48c5a115a0e1012c9f04
Fri, 05 Oct 2012 18:14:31 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/15eacdd2db7c48c5a115a0e1012c9f04#15eacdd2db7c48c5a115a0e1012c9f04Bass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass: I don't buy that arguement that because it's FOSS that you can fix it yourself. That is still just as useless as a proprietary product, perhaps even worse in some ways.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/1a6320d25d654f9b9790a0e1012fb1ca#1a6320d25d654f9b9790a0e1012fb1ca
Fri, 05 Oct 2012 18:25:43 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/1a6320d25d654f9b9790a0e1012fb1ca#1a6320d25d654f9b9790a0e1012fb1cakettch113http://channel9.msdn.com/Niners/kettch/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

That's the thing, because it is open source it's much easier to offer money to get a fix because you have options. Hell, you can fix it yourself!

That may be true in theory, but how many people can actually fix a bug they found in Linux, or MySQL? Very few.

If the software is proprietary, good luck with that. The proprietary originator might have even went bankrupt and the source code lost in the chaos. Hell, the whole idea that you'd trust parts of your critical business systems to a random external vendor with different business interests is crazy.

And open source projects can be abandoned with the business user left with a million lines of source code and no idea what to do with it.

Actually, this exact reason is why many of the larger organizations use FOSS over proprietary software these days. FOSS gives a piece of mind that is impossible with proprietary software.

The reason that many large organisations use FOSS over proprietary software is that they don't have to pay for it. Idealism rarely has anything to do with it.

But the thing is, it doesn't matter. You aren't a better FOSS contributor if you avoid using it. Really, the whole contention is silly.

Yes, the logic of that blew right past me ...

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/57e266269c444a158231a0e1013f0caf#57e266269c444a158231a0e1013f0caf
Fri, 05 Oct 2012 19:21:37 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/57e266269c444a158231a0e1013f0caf#57e266269c444a158231a0e1013f0cafRay7113http://channel9.msdn.com/Niners/Ray7/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Ray7: What I meant was that they weren't taking and not giving back. In fact, they give more to open source than they use. Many companies use FOSS as a way to get a leg up and give back only the minimum.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/90e30d4371d847809bc9a0e101425c3a#90e30d4371d847809bc9a0e101425c3a
Fri, 05 Oct 2012 19:33:40 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/90e30d4371d847809bc9a0e101425c3a#90e30d4371d847809bc9a0e101425c3akettch113http://channel9.msdn.com/Niners/kettch/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

That's the thing, because it is open source it's much easier to offer money to get a fix because you have options. Hell, you can fix it yourself!

If the software is proprietary, good luck with that. The proprietary originator might have even went bankrupt and the source code lost in the chaos. Hell, the whole idea that you'd trust parts of your critical business systems to a random external vendor with different business interests is crazy.

Actually, this exact reason is why many of the larger organizations use FOSS over proprietary software these days. FOSS gives a piece of mind that is impossible with proprietary software.

normal "users" do not write software and would not have a clue how to even start to "fix" a program.

and who do you pay ? if the project has say 12 folks who work on it who do you pay them ? and who do you talk to ? really ...

sure things like a business going under happen... but i can't even count how many times i used to deal with folks in the open source world who were no help at all / had attitudes that stunk etc...

there are for sure a lot of good folks out there who are helpfull but it's a mixed bag.

I'm not talking about "normal users", I'm talking about big organizations with software engineering staff. Apple, Google, Facebook, IBM, Oracle, etc. come to mind, but of course, there are many others (incl. the peeps I work for) who have the engineering ability to contribute to or modify FOSS software in their own self-interest. And do.

Also there are many companies (eg. Red Hat) that will gladly take your money to add features to FOSS software, and they have wide expertise in doing that sort of thing.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/9905881842f14afbb1cba0e1017303ca#9905881842f14afbb1cba0e1017303ca
Fri, 05 Oct 2012 22:30:49 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/9905881842f14afbb1cba0e1017303ca#9905881842f14afbb1cba0e1017303caBass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@Bass: But that's why I said that FOSS software which doesn't have the backing of a big IT firm is basically a no-go area for any sensible company. The idea that FOSS somehow guarantees cost-effective future development of a piece of software is pure fantasy.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/461bf804df684c9e8a8ea0e200a089f4#461bf804df684c9e8a8ea0e200a089f4
Sat, 06 Oct 2012 09:44:30 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/461bf804df684c9e8a8ea0e200a089f4#461bf804df684c9e8a8ea0e200a089f4AndyC113http://channel9.msdn.com/Niners/AndyC/Discussions/RSSCoffeehouse - TypeScript is JavaScript...I don't know what you are trying to say. FOSS guarantees that you'll have access to the source code, with the legal ability to modify and redistribute it at will. That is the basic guarantee.

The difference between FOSS and proprietary is a legal distinction and nothing more. FOSS can be made by big companies (Microsoft even! see: the OT of this thread) and proprietary software can be made people like Joe in his basement (I've been that Joe in his basement before, well besides the basement part).

The whole tangent of "big companies vs Joes" is kind of ridiculous and nonsensical in a way.

You could do similar things to what FOSS provides using reverse engineering with proprietary software. For instance making a modified version of MS Windows and putting it up on BitTorrent or selling it in a store for profit. But you chance getting caught and sued or worse. The Windows EULA does not permit you to redistribute or modify Windows, even for non-commercial purposes.

Not so with FOSS. I could (and actually have) made customized versions of Linux and other FOSS that I have outright redistributed. The license agreement permits this.

The whole tangent of "big companies vs Joes" is kind of ridiculous and nonsensical in a way.

No, that's actually the only thing that matters. Being FOSS is basically meaningless for 99% of companies out there that have no software developers nor the desire to employ them. For them, software backed by reliable "big name" companies is a much safer investment than software which doesn't have that sense of stability (whether justified or not).

No, that's actually the only thing that matters. Being FOSS is basically meaningless for 99% of companies out there that have no software developers nor the desire to employ them. For them, software backed by reliable "big name" companies is a much safer investment than software which doesn't have that sense of stability (whether justified or not).

and many small to say mid size just do not have the time and the bankroll to spend on paying someone to spend time finding out how the code works or who to trust for support.

as long as that is the case then a lot the time the free software loses.

I guess Bass you just do not "get it" 90% of the world is not interested in the whole foss thing, they just want stuff that works. so the foss ideals of giving the the power to the people only addresses the small technical slice of the pie and totally misses the larger audience that it was supposed to help / empower.

I don't know where you get your 99% number from? Some kind of study or something you could link to please? if I used my own observations when working for various organisations, I would say something like 100% of all companies have software developers.

Also, the "only" thing that matters? I have an idea of something that matters: the product actually doing solving the problem. I don't care if it was backed by Joe The Plumber or "Backed by the Full Faith and Credit of the Federal Government of the United States of America". If the product doesn't solve the problem, it's basically useless.

Regardless, FOSS is definitely preferable to proprietary. If all things are the same, if I could get Windows or Office for free and with the ability to modify and redistribute it without restriction, that would be much better than the current situation. That is unless you are into kinky finance/legal BSDM with your vendors (yes, it is a real thing). I won't judge you.

This year's "Future of Open Source Survey" results signal a tipping point for open source software adoption in the enterprise and non-technical industries such as automotive, health care and finance. In the auto industry, for example, 59 percent of the companies surveyed use open source software and 35 percent said they're evaluating it.

"""

Wow, that's some interesting results! Perhaps you were reading this same study as me, but you made a simple typo? Perhaps you meant "90% of the world is not interested in the whole foss thing"

"""

Of the 740 companies surveyed, 42 percent said adoption in the non-technical segments was the No. 1 trend driving open source in 2012.

"""

Hmmm... so it's not just technical segments. This is interesting to me, because I never even worked in a non-technical segment before. Good to know.

"""

They turn to open source software to escape vendor lock-in, lower costs and increase quality, according to the survey.

"""Wow, this statement sure seems familiar.

Also interesting, "Lack of formal commercial vendor support" was not the biggest barrier to open source adoption. Rather, it was simply unfamiliarity with open source solutions.

Interesting stuff indeed. FOSS is more popular than some people realise here, I suppose.

I don't know where you get your 99% number from? Some kind of study or something you could link to please? if I used my own observations when working for various organisations, I would say something like 100% of all companies have software developers.

If you honestly think most companies employ software developers, have any interest in software development or indeed even the slightest desire in diverting resources into something that isn't a core competency of their business, you're massively deluded I'm afraid.

Of the 740 companies surveyed, 42 percent said adoption in the non-technical segments was the No. 1 trend driving open source in 2012.

"""

Hmmm... so it's not just technical segments. This is interesting to me, because I never even worked in a non-technical segment before. Good to know.

And how much of that adoption was outside of the "big name" projects like Apache or Linux, both of which would fall under the category of having substantial commercial backing from known names. Nobody has argued that people avoid FOSS, rather that there is an inclination to prefer "known" products from reliable names far more then some random project started by your average Joe.

Also interesting, "Lack of formal commercial vendor support" was not the biggest barrier to open source adoption. Rather, it was simply unfamiliarity with open source solutions.

Interesting stuff indeed. FOSS is more popular than some people realise here, I suppose.

More interesting

"Number of Survey Respondents in 2011: 455

Number in 2012: 740"

Are you aware of the concept "statistically insignificant"?

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/e14f9de9a13149b1b47fa0e3014695f8#e14f9de9a13149b1b47fa0e3014695f8
Sun, 07 Oct 2012 19:49:03 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/e14f9de9a13149b1b47fa0e3014695f8#e14f9de9a13149b1b47fa0e3014695f8AndyC113http://channel9.msdn.com/Niners/AndyC/Discussions/RSSCoffeehouse - TypeScript is JavaScript...I work for a medium sized business, and we have several developers, and I can tell you that we have enough work already without having to figure out how the heck some FOSS package works and fixing it ourselves. We have ZERO interest in setting up another development toolchain, training on languages, tools and understanding of a single piece of software. I'd say that there are even a bunc in the Fortune 500 set who would say the same thing.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/58b3985b457f4db9b0dca0e400fd1048#58b3985b457f4db9b0dca0e400fd1048
Mon, 08 Oct 2012 15:21:22 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/58b3985b457f4db9b0dca0e400fd1048#58b3985b457f4db9b0dca0e400fd1048kettch113http://channel9.msdn.com/Niners/kettch/Discussions/RSSCoffeehouse - TypeScript is JavaScript...

If you honestly think most companies employ software developers, have any interest in software development or indeed even the slightest desire in diverting resources into something that isn't a core competency of their business, you're massively deluded I'm afraid.

*snip*

I would go so far as to say that not even 100% of software companies employ software developers.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/89a692844c924bfd82dea0e40102e067#89a692844c924bfd82dea0e40102e067
Mon, 08 Oct 2012 15:42:32 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/89a692844c924bfd82dea0e40102e067#89a692844c924bfd82dea0e40102e067cbae113http://channel9.msdn.com/Niners/cbae/Discussions/RSSCoffeehouse - TypeScript is JavaScript...The only time I'd want to be able to look at the source code of a third party component and modify it is when that component is FOSS. That's because I often come across strange hard coded configurations that make sense in some version-last environment but don't make sense given currently updated components. It seems that FOSS developers tend to assume that other devs will inevitably look at the source, so it doesn't matter. This isn't necessarily a bad thing because there are people who enjoy hunting through foreign code to patch things up. Unfortunately, I'm not one of them.]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/db215e446eec45e78520a0e40148d5ba#db215e446eec45e78520a0e40148d5ba
Mon, 08 Oct 2012 19:57:15 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/db215e446eec45e78520a0e40148d5ba#db215e446eec45e78520a0e40148d5baMasterPie113http://channel9.msdn.com/Niners/MasterPi/Discussions/RSSCoffeehouse - TypeScript is JavaScript...@AndyC:

If you honestly think most companies employ software developers, have any interest in software development or indeed even the slightest desire in diverting resources into something that isn't a core competency of their business, you're massively deluded I'm afraid.

Well, I'm a man of science. It's very rare that I accept quantitative statements on faith alone. When you throw numbers at me, it would be nice to know how you derived those numbers. I'm not going to sit around and pick apart your statistical models. But it would be nice to have something more to back them up than well... nothing. Just saying.

And how much of that adoption was outside of the "big name" projects like Apache or Linux, both of which would fall under the category of having substantial commercial backing from known names. Nobody has argued that people avoid FOSS, rather that there is an inclination to prefer "known" products from reliable names far more then some random project started by your average Joe.

Alright. But that's a fairly concrete hypothesis. It would need to be tested before I can argue for or against it.

It's worth noting that companies like Red Hat or Canonical support a huge variety of software, it's very hard to find something they won't "support" if you hand them money, and they have the expertise to do so generally speaking. That doesn't change your hypothesis, but it could potentially change the definition of "known" in the context of it.

Are you aware of the concept "statistically insignificant"?

So you'd like to discredit the study? Ah!

I am aware of the concept "statistically insignificant", but I assume my understanding is different than yours. I am not a pro-statistician by any means, so please free to explain how this study is statistically insignificant. Feel free to use to mathematical concepts in your argument. That would make it more enjoyable for me. I like Greek letters, they look very pretty in my font set.

You could do similar things to what FOSS provides using reverse engineering with proprietary software. For instance making a modified version of MS Windows and putting it up on BitTorrent or selling it in a store for profit. But you chance getting caught and sued or worse. The Windows EULA does not permit you to redistribute or modify Windows, even for non-commercial purposes.

Most companies and most users for that matter have absolutely no desire to modify their Windows installation either.

The fetish of wanting to brand, tinker-with, modify, swap-out and play with bits of software is something that belongs exclusively to developers.

A developer might say "Oh, curses, this software doesn't work in precisely the configuration I want. Right. Here's my Visual Studio, where do I prod".

A normal user - never mind one with actual work to do - says "Stupid software. Why won't you just let me do my work. Who do I have to telephone to get this software to get out of my face and let me do some work today?".

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/65c88ac34e824d559314a0e40172b075#65c88ac34e824d559314a0e40172b075
Mon, 08 Oct 2012 22:29:38 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/65c88ac34e824d559314a0e40172b075#65c88ac34e824d559314a0e40172b075evildictaitor113http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSSCoffeehouse - TypeScript is JavaScript...People's personal conjectures or quantitative statements with no backing are interesting but they don't prove anything. If this is all about personal experiences, I will say my experiences in "large companies/organizations" have always been that they are actively avoiding proprietary software, sometimes even banning it's use entirely in new software projects (this is surprisingly common these days). The reasons are often different. Cost is a huge one, but security and the ability to modify the software is very notable, and it's rare for a big company to use an open source product in a mission critical setting without modifying it for their environment in some way. But there is a systemic bias in this result, because it comes from my experiences.

That's why I like independent studies to see how the world is moving. I like numbers but not when they come from myself or random people. It just doesn't lead to good science.

I am aware of the concept "statistically insignificant", but I assume my understanding is different than yours. I am not a pro-statistician by any means, so please free to explain how this study is statistically insignificant. Feel free to use to mathematical concepts in your argument. That would make it more enjoyable for me. I like Greek letters, they look very pretty in my font set.

740 companies. There are more than that in my local Yellow Pages, for a single city in Britain (not a particularly large city as it happens, in by no means the largest country in the world). Do you really need me to do the maths for you?

And, FWIW, I've spent most of my working life in the higher education sector, which has always been far more heavily skewed in favour of *nix and one of the breeding grounds of FOSS. I've not lived a life in some Microsoft funded cocoon, as you seem to imagine.

Yes please! It would be very enlightening to see mathematically why a sample size of 700+ is statistically insignificant.

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/eb2e9f2543114a8cb85da0e500090b4e#eb2e9f2543114a8cb85da0e500090b4e
Tue, 09 Oct 2012 00:32:55 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/eb2e9f2543114a8cb85da0e500090b4e#eb2e9f2543114a8cb85da0e500090b4eBass113http://channel9.msdn.com/Niners/Bass/Discussions/RSSCoffeehouse - TypeScript is JavaScript...I haven't had much time to play with TypeScript, but I have gone it installed and I've gone through some samples. I think it's a great idea and will really help a lot ... I've worked on some pretty big web applications that were written entirely in JS before and during migration from ASP to ASP.NET, and it was a nightmare, but TypeScript would have changed the game. It would have actually made sense to never migrate to ASP.NET at all if TypeScript had existed then. The only reason people seem to have a bad reaction to it is because of Dart/CoffeeScript and all that and they are definitely not the same thing. If TS had of been available a year or two ago, I think no one would be talking about CoffeeScript or Dart. The tooling will be the key to victory for TS. Why would anyone with a lot of JS and VS2012 not use TypeScript?

]]>http://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/928c514512ee41a483a2a0ea0010caf8#928c514512ee41a483a2a0ea0010caf8
Sun, 14 Oct 2012 01:01:08 GMThttp://channel9.msdn.com/Forums/Coffeehouse/The-end-of-JavaScript-TypeScript/928c514512ee41a483a2a0ea0010caf8#928c514512ee41a483a2a0ea0010caf8Joshua Ross113http://channel9.msdn.com/Niners/JoshRoss/Discussions/RSSCoffeehouse - TypeScript is JavaScript...Sorry to wakeup this old thread, but after reading many tweets like "game changer", and "the most important thing to hit javascript", I came up with this gem:

TypeScript is the ladder with which html-fudding, VS-loving DOTNET fan-things can quietly climb down.