[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Whats your opinion of TypeScript

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 1

File: 1478547984197.jpg (697KB, 1920x1080px) Image search: [Google]
1478547984197.jpg
697KB, 1920x1080px
Whats your opinion of TypeScript
>>
>>57438126
A necessary evil for javascript and angular 2. Technically it just presents certain things better for the user but nothing else. You don't need it if you're good enough with plain javascript
>>
>>57438173

Pretty good and unmemey answer, am I really on /g/ here?!
>>
>>57438126
I'm looking forward to watching this in 10 days.
>>
>>57438717
You are, but all the burgerclaps are asleep, so you'll actually get good answers.
>>
>>57438759

It has been out for like months though.
>>
>>57438786
Not in cinemas over here.
>>
>>57438807

Sucks.

It is pretty good.
>>
>>57438173
>You don't need it if you're good enough with plain javascript

I disagree, it greatly eases refactoring and if you use a strongly typed language server-side there are numerous tools that help you auto generate TS class defs for those types.

For instance, I'm a developer on an Angular 1 application with a c# .net webapi back end. I use the Typewriter extension for VS to generate class defs for all our server side types. I also use it to generate an Angular service for each of my webapi controllers, always using them to send/receive data instead of hitting them directly.

So if I make a breaking change to a model or an API controller, it immediately causes code on the front-end to break appropriately. It's very nice.

The type inference also helps a lot when doing chained promises, it's much easier to tell when you forgot a return or something at design time
>>
solo : useless
team : mandatory
t. early adopter
>>
>>57439218
It is very useful solo as well. I have a hobby project with around 10k+ loc of TS. Generally any code base over a thousand lines greatly benefits from the maintainability and error analysis of static typing.
>>
Good if you like oop
Thread posts: 12
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.