3 ms·
this: > Go won’t let you abstract yourself in the foot. aside from being amusing -- I like this, but can anyone confirm its true in practice with Go?
by andyidsinga 11y ago
this:
> Go won’t let you abstract yourself in the foot.
aside from being amusing -- I like this, but can anyone confirm its true in practice with Go?
- akhilcacharya 11y agoI just started on my first Go project last night...and yeah, that feels about right.
- giovannibajo1 11y agoIn my experience, Go makes it hard to write libraries in the STL/C++ sense (that is, reusable abstractions), while making it very easy to write libraries in the "batteries" sense. So yes I think the metaphore is correct
- NateDad 11y agoThe lack of generics (and operator overloading and type hierarchies) makes it hard to write grandiose frameworks and all but impossible to write DSLs. I consider this a good thing. You're definitely pushed in the direction of writing straightforward, no frills code that uses boring types with little magic.