On 04/09/2020 08:41, Martin Blais wrote: > Some years ago I had the opportunity to define a brand new project and > build a new team for it, and it turned out the implementation was well > suited for something like Go: relatively simple long-running servers > mediating between various distributed services, with some basic data > analysis code. I was excited to discover Go at the time and chose to > implement everything in it, and I was hoping that it might become my > favorite new powertool and dove in with great enthusiasm. I walked out > the other end of that tunnel after a year or two, disheartened at the > many weird quirks of the language, the various missed opportunities for > helping keep things functional (not even close), some of the hype (no, > co-routines will not solve all your concurrency problems and they're > tricky), and its community prescribing methods I disagree with ("don't > worry about abstracting, just cut-n-paste these same patterns of code > all over"). And the absence of generics hurts. Even the aesthetics > compelled by its clever use of capitalization started to weigh down on > the team's appreciation of their source (it worked fine and ran fast, > but I don't think anyone really "liked" their code). There's a lot to > say; my point is that I've invested the time to learn it well enough > that I know it's not my favorite thing to play with. Go gets some things > so right - in particular, interfaces - but it gets many other things > wrong, in my view. I'd use Go again in the future, but for pragmatic > reasons, just to get things done, and if I wasn't going to have > an emotional attachment to the project; but not for my fun projects. > Plus Python for scripting things gets you so much more in terms of > libraries.
I am glad to see my impressions about Go, developed looking at it from far, are confirmed by someone that spent the time to dig deeper. Cheers, Dan -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/0086a31b-277f-f989-836b-ca2abf124bb1%40grinta.net.