Re:Brad Fitzpatrick on the future of Go
by sagichmal on Tuesday October 14, 2014 @04:37PM
(#8455645)
Go is very uncontroversially a better Node. It also predates Node.
[ Parent
| on HN ]
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.
Re:Brad Fitzpatrick on the future of Go
by sagichmal on Wednesday October 15, 2014 @02:06PM
(#8460467)
> Better language? Not really,
There is no conceivable universe in which the expression "JavaScript is a better language than Go" evaluates to true.Unless/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.
...except for in JavaScript itself:
~$ node
> "JavaScript is a better language than Go" ? true : false
true
> "JavaScript" > "Go"
true
Re:Brad Fitzpatrick on the future of Go
by general_failure on Tuesday October 14, 2014 @06:12PM
(#8456106)
I doubt it. The node ecosystem is second to none.