3 ms·
Immutability was gaining huge traction with Java... then large parts of the industry switched to golang and we hardly make anything immutable.
by ronnier 11mo ago
Immutability was gaining huge traction with Java... then large parts of the industry switched to golang and we hardly make anything immutable.
- antonvs 11mo agoGo is the new PHP.
- LogicHound 11mo agoMuch like PHP, you can actually get stuff done unlike a lot of other programming languages.
- antonvs 11mo agoOh? Which “lot of” other programming languages can’t you “actually get stuff done” in? Are you sure the problem lies with the programming language?
- LogicHound 11mo agoI 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.
- danenania 11mo agoIt’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.
- ottah 11mo agoI would kill for an immutable error type
- XorNot 11mo agoGo 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.