Immutability was gaining huge traction with Java... then large parts of the industry switched to golang and we hardly make anything immutable.
Immutability was gaining huge traction with Java... then large parts of the industry switched to golang and we hardly make anything immutable.
Go desperately needs support for immutable structs that copy cleanly.
I want to be able to write `x := y` and be sure I don't have mutable slices and pointer types being copied unsafely.
I would kill for an immutable error type
Go is the new PHP.
Much like PHP, you can actually get stuff done unlike a lot of other programming languages.
Oh? Which “lot of” other programming languages can’t you “actually get stuff done” in? Are you sure the problem lies with the programming language?
It’s an exaggeration perhaps but I get the sentiment. FP is elegant and beautiful and everything, but it can lead you to spend all day puzzling out the right abstractions for some data transformation that takes 5 minutes with a dumb for loop in Go.
I find there are some environments where you have a positive feedback loop while working in them. PHP is one of them, Go is another at least for me.
I find many of languages I am constantly fighting with dependency managers, upgrades and all sorts of other things.