News for hackers. Stuff that matters.
Re:Evolution of the Heroku CLI: 2008-2017 by Rapzid on Sunday September 03, 2017 @02:23AM (#15159982)
I predict they will come to the conclusion that they backed the wrong horse with Flow over TypeScript; v7 will be written in Scala or Scala.js .

There is the odd sense of randomness to the choices in all these CLI upgrades. Can't quite put my finger on it. It brings to mind the saga of Wasabi.

Re:Evolution of the Heroku CLI: 2008-2017 by z3t4 on Sunday September 03, 2017 @03:52AM (#15160201)
I think the idea with Flow is you just have JSDoc type annotations, so you get strong typing without transpiration.
Re:Evolution of the Heroku CLI: 2008-2017 by frou_dh on Sunday September 03, 2017 @05:52AM (#15160571)
There is a comment convention where you can add Flow type annotations and definitions to vanilla JS:

    x /*: T*/
    
    /*::
    type T = {
      ...
    }
    */
But in practice I don't think it's pushed as being preferable to the invasive syntax.
Re:Evolution of the Heroku CLI: 2008-2017 by styfle on Sunday September 03, 2017 @09:42AM (#15161368)
I believe TypeScript has the JSDoc feature as well, although it's much more recent.
Re:Evolution of the Heroku CLI: 2008-2017 by styfle on Thursday September 07, 2017 @10:21PM (#15197445)