News for hackers. Stuff that matters.
Re:The State of JavaScript 2018 by daliusd on Monday November 19, 2018 @05:29AM (#18485387)
> TypeScript is gaining ground, people are moving away from Flow.

Is it really the case? Both projects are watched and have quite big number of stars in github.

I have tried flow and liked it. I have used typescript in the past and I'm not crazy about it. Therefore I would like to get better understanding here. Is there anything I could read about it?

Re:The State of JavaScript 2018 by Vinnl on Monday November 19, 2018 @05:59AM (#18485515)
I don't have hard data, but a large part of this is probably ecosystem. TypeScript updates more often and, most importantly, almost every relevant library has TypeScript type definitions available. Interesting hard data would be the percentage of popular libraries with TypeScript type definitions available vs. those with Flow definitions available. I'm quite sure that would heavily tilt towards the former, though.
Re:The State of JavaScript 2018 by krona on Monday November 19, 2018 @06:46AM (#18485727)
The proportion of Flow users who said "would not use it" has increased substantially over the past year. (24% vs 41%)
Re:The State of JavaScript 2018 by davedx on Monday November 19, 2018 @10:15AM (#18486964)
I started using TypeScript professionally for the first time this year. A few more datapoints: I've had recruiters calling me for TypeScript projects, but not for Flow. This is in the Netherlands.
Re:The State of JavaScript 2018 by jaxondu on Monday November 19, 2018 @06:06AM (#18485553)
Don’t have to take the survey so seriously. It’s not representative of all JS community. My circle of JS hackers don’t even bother to participate.
Re:The State of JavaScript 2018 by scrollaway on Monday November 19, 2018 @09:13AM (#18486492)
You're mistaking "representative" with "inclusive".

The survey can be a representative sample, without including your ̈́"circle of JS hackers". That's how surveys work.

Re:The State of JavaScript 2018 by krona on Monday November 19, 2018 @06:48AM (#18485732)
Is there any reason to suspect Flow users are less likely to do the survey than, say, TypeScript users?
Re:The State of JavaScript 2018 by daliusd on Monday November 19, 2018 @08:12AM (#18486140)
I can speculate here a little bit. Majority of survey users has less than 10 years of experience. That makes them susceptible of being Visual Studio Code users. VSC - Microsoft product. Typescript is Microsoft product as well.
Re:The State of JavaScript 2018 by kristiandupont on Monday November 19, 2018 @09:23AM (#18486554)
I am curious (as a VSCode user) what makes you conclude that junior devs are likely to use VSCode?
Re:The State of JavaScript 2018 by daliusd on Monday November 19, 2018 @12:25PM (#18487949)
It is really good tool and free one. Better tools are either commercial or requires a lot of learning.