What does Sup Forums think of TypeScript?

What does Sup Forums think of TypeScript?

A very popular game called PonyTown is made from it. So it's good in my watch.

Just read about it. Think I will code something in it cuz it looks interessting

As someone who finished his degree by using Typescript and Angular 2, it's completely fine. It's far easier to debug than JavaScript due to data types and compilation errors. You can minify it thanks to how it compiles to ECMAScript compliant JavaScript. Plus the overhead isn't large.

Now whether or not it is extremely useful is debatable. If you're good enough to write and debug JavaScript it isn't going to make your life that much easier. I guess it's useful for obfuscation and if you want to be lazy and just write scripts in your sleep. Just remember that the syntax is a little weird in the beginning, but once you get the hang of it, you'll write it in no time.

It's fine. Better to debug than plain JavaScript, less of a pointless pain in the ass than "Compiles-to-JavaScript-but-isn't!" done by other languages, which makes the output a pain in the ass to debug.

It's yet again MORE hipster bullshit that will add technical debt to projects.

It ALWAYS fucking happens.

1. Some shithead that shouldn't be making suggestions will suggest Typescript (used to suggest coffeescript)
2. Dumbass lead or director will agree because it's trendy
3. Horrible intern tier codebase will be created
4. Eventually team members will be promoted and will leave the company for greener pastures and spread their terrible fucking opinions there because "hey they are seniors"
5. New crew will be hired and will have to learn Typescript because useless nigger tier previous devs couldn't be bothered to learn prototype inheritance.

I have openly mocked Principle devs and Directors in interviews for suggesting shit like this.

The real problem is that Angular 2 is about to take a fat shit on the web and there will very, VERY few devs that are smart enough to avoid Typescript and just use good ol ECMA.

What are you talking about, Typescript is trans-piled just like Coffeescript.

Typescript is better than most other "JavaScript-But-Not-Javascript!" because it's literally just a superset of Javascript. Regular JS can still be used in it and will work fine. The output is pretty easy to work with too, much better than other languages because it tries to adhere to actual JS than they do.

TS is explicitly intended to be a superset of JS, not an out-and-out replacement. It's easy to learn if you know JS, and you can write regular JS in it, and the JS it compiles to is more readable than other generated JS languages. Probably because it's intended to be "JS with types" and not "a completely different language that happens to use JS as a back-end, so you can write JS without using JS at all!" (ClojureScript, Scala.js, etc.).

TS is explicitly intended to add technical debt to projects.

It was literally dead until Angular 2 saved it.

We have been through this before with Coffeescript.

uh, okay.

>technical debt

Javascript and the web in general are just a big fucking giant pile of shit? What happened to the old days of good old desktop programs? Why do I need to open my browser to use a fucking calculator or check my email?

It acts as a lowest common denominator.

>Why do I need to open my browser to use a fucking calculator
Now you're exaggerating.

It's not. There are plenty of people trying to be "hip" and making calculators in javascript. Another example is my fucking bank. It only has a website, no separate program to manage my account. Retarded fucking shit like my router's admin panel too. How fucking hard would it be to just make a separate program instead of using javascript cancer? The web was supposed to be for static documents, not abused as a drop in replacement for real GUI frameworks.

Using a language that has a short lifespan, requires time to learn, and is hard to hire for once a resource leaves is in fact, technical debt.

>typescript
>requiring time to learn
Maybe if you're retarded.

>wolfram|alpha

Much better than javashit, still kind of javashitty

You're seriously trying to convince me that your computer/tablet/smartphone/whatever-device DOESN'T come with its own calculator and forces you to use a web-based JavaScript calculator? Are you sure about that?

>requires time to learn
I think you misread the part about "literal superset". All valid JS programs are already valid TS programs. If you already know JS, you know most of TS except for, you know, types. It's very easy to learn.

>hard to fire for
JS programmers are a dime-a-dozen and are not hard to hire for at all. No idea who convinced you of otherwise.

That doesn't change the fact that there are people retarded enough to write calculators in javascript instead of using a proper GUI framework. The web is meant for STATIC documents.

Okay, but then I have no idea what point you're trying to get angry about.
>Why do I need to open my browser to use a fucking calculator
>you don't
>YEAH BUT PEOPLE STILL WRITE CALCULATORS THAT CAN BE OPENED FROM A BROWSER SO HYPOTHETICALLY...
Don't get yourself worked up about it, just use whatever desktop program calculator you apparently already have and use instead of forcing yourself to use a web calculator.

Ok, where's my desktop program to post on Sup Forums then?

>needing a desktop program to post on a website instead of using a web-browser to browse the website
If you want apps shouldn't you be arguing about cell phones somewhere?

Why is Sup Forums a website in the first place? Websites should serve static content.

Why are you on the web? It's reserved for scientists.

Because that's where Sup Forums is. If Sup Forums was a standalone program instead of a website then I wouldn't need to be on the web.

It'll be a lot more static once you stop posting lad.