4 ms·
Depends on what you mean by "better". Better language? Not really, if you want types TypeScript is a much better option. With node+typescript+react you can get
by spion 12y ago
Depends on what you mean by "better".
Better language? Not really, if you want types TypeScript is a much better option. With node+typescript+react you can get end-to-end typechecked code with no FFI involved - thats really, really cool.
Better concurrency? Oh yeah, definitely. Better core libraries? Yes, by far.
Better package ecosystem and management? Definitely not.
- sagichmal 12y ago> Better language? Not really, There is no conceivable universe in which the expression "JavaScript is a better language than Go" evaluates to true.
- kyllo 12y ago...except for in JavaScript itself: ~$ node > "JavaScript is a better language than Go" ? true : false true > "JavaScript" > "Go" true
- spion 12y agoUnless/until Go gets generics, I stand by my statement. A horrible type system that severely limits expressiveness is worse than no type system. Even TypeScript's type system is miles ahead compared to the one in Go.