thejameskyle
Joined 12 years ago
Joined 12 years ago
This means that you have the language designers themselves maintaining some of the most important crates in the ecosystem, and baking it into their process to iterate on the language itself. The result is really high quality crates and the community is better for it.
I'm not trying to dunk on JavaScript/npm packages though, or anyone involved in developing the language. Clearly the JS community has found success and is meeting a lot of people's needs. We can accept that Rome's requirements are different than most people using JavaScript.
Also, discrediting WikiLeaks doesn't serve me personally – I've never said anything against them publicly until today, and I used to be an avid supporter.
However, if you read their support Twitter account they are doing a good enough job of discrediting themselves. Go read through their twitter account, it reads like Donald Trump's:
- https://twitter.com/WLTaskForce/status/817446026944643076 - https://twitter.com/WLTaskForce/status/817435562109968384 - https://twitter.com/WLTaskForce/status/817470461529427968
There's a number of public ways (which could be automated) to find out information like people's home addresses, but generally it's pretty difficult to figure out how (provided someone isn't just publicly posting their address).
Online harassers are often deterred simply because it takes too much effort to find out the information to do more harm.
Doxxing takes some amount of know how, and that's the only thing preventing it from happening more often.
That is how the ECMAScript spec is designed. And TypeScript _should_ follow the spec.
With Flow you don't even have to opt-in to a new syntax. You can just use comments:
function foo(val /* : boolean */) /* : string */ {}
Using really powerful inference you can also write much fewer types. If you have well types libraries [you sometimes don't need types in your code at all](https://medium.com/@thejameskyle/flow-mapping-an-object-373d...).I assume the original poster is talking about how few types you actually need to write in Flow because of how good the inference is.
function bar(x) /* : string */ {
No compiling necessary1. Setting up with Babel: (note that if you are already using the "react" preset you don't have to do anything)
$ npm install --save-dev babel-plugin-transform-flow-strip-types
Then update your `.babelrc`: { plugins: ["transform-flow-strip-types"] }
2. Setting up with ESLint $ npm install --save-dev eslint-plugin-flowtype-errors
Then update your `.eslintrc`: { plugins: ["flowtype-errors"] }
Then just install `flow-bin` and create an empty `.flowconfig` file in the root of your repo and you're done. Now you have Babel compiling your code the same as always and you can use the Flow type syntax, and with ESLint you probably already have your editor all setup to show you warnings.We're trying to integrate more with tools like this so you don't have to go changing your entire workflow. It shouldn't be so hard to add types to your existing JavaScript code.
I'm sorry I was often short-breathed when responding. I'm sorry I shut people down more than a few times. From my perspective Lerna was feature complete until Yarn was launched, and people were only ever making feature requests so I didn't see a big deal.
At one point I was frustrated and Bo made it seem like he was going to abuse his power as a contributor and I got freaked out and removed him. He only got more and more vocal from there and I just pushed him out entirely.
Since then I've started a new job, a new relationship, I've been exhausting myself writing new talks. I've had family problems, work problems, fucking country problems... a family member who has been having suicidal thoughts, family who have practically disowned me for being gay and refusing to take their shit.
To be honest, I've barely been getting by in life before we even start talking about open source. I have to take care of that first.
I'm sorry.
I'm saying that when someone does it in a way that is in pure unadulterated anger that the community should not reward them for it. It's unhealthy for everyone.
$ npm install babel-cli
$ babel src -d lib
To this: $ npm install babel-cli babel-preset-es2015
$ echo '{ presets: ["es2015"] }' >> .babelrc
$ babel src -d lib
It really wasn't that big of a change.Also, we did give it a new name. It used to be 6to5, and we changed the name around the intention to make it more generic. Which Babel 6 was the culmination of.
As for communicating with the community. Yeah, we can't address everyone at once or even reach them all. We could shove it in their face (and we do) and still a significant portion would still ignore us (and they do). There's not much we can do about that. But they shouldn't come to us and say that we never said anything about this, because yes we did.
Also, the article I referenced about Angular 2 was not talking about the transition from Angular 1 to 2. It was talking about ng2 as its own thing, criticizing it's design more than anything (just in a really shitty way).