3 ms·
> Trying to apply functional programming techniques in Go makes about as much sense as trying to use a hammer to drive a screw. Shit, half the point of Go is t
by yamtaddle 4y ago
> Trying to apply functional programming techniques in Go makes about as much sense as trying to use a hammer to drive a screw.
Shit, half the point of Go is that it makes doing things other than The Go Way painful enough that even devs on your team who are really really enthusiastic about <insert trendy but non-Go-like thing here> will think twice about trying to get their current pet paradigm or method into the codebase.
After a career of watching Javascript shift violently with the prevailing winds among the Cool Kids over and over since the 90s, this doesn't seem like a crazy aim for a language to have.
- eddsh1994 4y agoI like Go for that reason! After working with Haskell, Rust, JavaScript, and many other languages in production all I look for is simplicity. Hell, I'd even give up DRY for obvious code & a good IDE to refactor stuff if I can avoid some abstraction madness. Want to solve fizzbuzz? Well lets first define Peano numbers...