News for hackers. Stuff that matters.
Re:Babel 7.5 by cupofjoakim on Sunday July 07, 2019 @09:22AM (#20374951)
The F# pipelines look interesting, but how should one think about this? It's a Stage 1 proposal, meaning it could actually not only be changed, but also be dropped from the TC39 consideration. Will future babel versions under the 7 tree keep supporting it?
Re:Babel 7.5 by Klathmon on Sunday July 07, 2019 @09:35AM (#20375020)
I would really avoid using this in anything that you aren't okay with rewriting right now.

The pipeline proposal has multiple syntaxes right now that the community is trying to pick from and discuss.

The chances that the F#-style syntax will be chosen AND will make it to the language proper unchanged is VERY low in my opinion.

And if the community goes in a different direction, it's unlikely that the F# style will be maintained for all that long because it's still such an early stage proposal.

Re:Babel 7.5 by finchisko on Sunday July 07, 2019 @12:59PM (#20376116)
Is there any chance, there will be codemods?
Re:Babel 7.5 by Klathmon on Sunday July 07, 2019 @01:14PM (#20376228)
They could probably be made, but I still wouldn't rely on it.

Well working Codemods are difficult to make in many cases, and unless someone is paying for it, I don't think there will be many calls for one to translate between the syntaxes unless the proposal gains a lot of usage without settling on one.

Re:Babel 7.5 by snek on Sunday July 07, 2019 @10:36AM (#20375270)
it's part of the stage 1 preset, and in the future it will either disappear from the stage 1 preset or move to the stage 2 preset.