3 ms·
I really did mean to say OOP - I have been attempting a real project in Go and I'm smitten. Still, even Go has a prescribed way of approaching problems; as unu
by zamalek 9y ago
I really did mean to say OOP - I have been attempting a real project in Go and I'm smitten.
Still, even Go has a prescribed way of approaching problems; as unusually broad as it is for a statically typed language. As a very relevant example, there is far more syntactical overhead in Go if you wish to fake FP (e.g. `func Foo(a A) func(b) func(c) func(d) e` to allow currying); where-as in JavaScript you simply bind or apply.
I've yet to see an article gushing over how natural functional is in Go (which is fine, Go isn't designed for that). This must be the 20th article I've seen on HN about functional in JavaScript.
- weberc2 9y agoYeah, I agree with your assessments of Go. I didn't mean for it to sound like Go is a good example of expressive static typing--quite the opposite: I was able to build something elegant with Go in spite of its limited, static type system.