News for hackers. Stuff that matters.
Re:React Native 0.60 by virtualwhys on Saturday July 13, 2019 @11:45AM (#20428582)
> I found Ionic to have the most enjoyable and cogent end-to-end experience amongst the three.

Agreed, though I'd love to use Ionic with Scala.js in place of TypeScript (which is great, but doesn't give me the same if-it-compiles-it-works confidence as Scala does, not to mention batteries-included standard library).

Hopefully technology will emerge that allows one to write once/run everywhere in preferred-language on all major platforms. Compromises seem to abound with currently available options.

Re:React Native 0.60 by yesimahuman on Saturday July 13, 2019 @11:50AM (#20428617)
Scala.js sounds really interesting. There's no reason you shouldn't be able to use it with Ionic as of Ionic 4, since we generally now support whatever framework you want to use (not just Angular anymore)
Re:React Native 0.60 by s_y_n_t_a_x on Saturday July 13, 2019 @11:54AM (#20428645)
I'm not sure why TS wouldn't give you confidence. The compile process is simply stripping out the typing to JS.
Re:React Native 0.60 by jakear on Saturday July 13, 2019 @01:13PM (#20429036)
I think they mean TS lets too much buggy code typecheck, as compared to Scala.
Re:React Native 0.60 by frankpf on Saturday July 13, 2019 @01:25PM (#20429090)
I don't think that's true. TypeScript's type system is very advanced, and has most of the features you need for type-safe development if you use strict mode (which is the default for projects created with `tsc --init`). It has ADTs, null safety, exhaustiveness checking and the LSP tooling is better than any other language I've tried. The biggest feature that's missing from Scala is HKTs, and even those can be faked in TS.
Re:React Native 0.60 by verttii on Saturday July 13, 2019 @08:23PM (#20430931)
I'd be hard pressed to say ADTs are first class citizens in Typescript. If anything, seems more like a hack over some interface primitives to me.

I miss having a solid advanced type system like in Haskell when using something like Typescript or Dart. Typescript feels mostly like Microsoft's attempt on converting Javascript to align more with C# to me.

Re:React Native 0.60 by yawaramin on Saturday July 13, 2019 @01:35PM (#20429145)
It doesn't have soundness.
Re:React Native 0.60 by invaliduser on Saturday July 13, 2019 @03:56PM (#20429837)
This is by design, and rather well explained in the typescript documentation: the type system is based on structural subtyping, which seems like a good tradeoff to me (but of course, as any design choice, not everyone should agree, and it's fine).
Re:React Native 0.60 by yawaramin on Sunday July 14, 2019 @05:02PM (#20436002)
Structural subtyping doesn't imply lack of soundness, OCaml object types have structural subtyping too and OCaml is sound.