Three Months of Go from a Haskeller’s perspective (2016)
11–20 of 162 posts
Re: Three Months of Go from a Haskeller’s perspective (2016)
#12(2016) The versioning and slice sorting have since been solved, by go.mod and sort.Slice respectively. The problem with "Make it an error to not initialise a struct field" is you lose source compatibility when adding new struct fields.
Still no official debugger though. Delve is just full of bugs.
Re: Three Months of Go from a Haskeller’s perspective (2016)
#13Re: Three Months of Go from a Haskeller’s perspective (2016)
#14I actually wish gofmt was _more_ opinionated. Break my lines please. Prettier has spoiled me - write absolutely hideous looking code, and one save later it is exactly what I want almost every time.
I was very apprehensive about prettier at first, but I pulled it into a side project of mine and I am never looking back. I absolutely loathe people’s obsession over formatting code. Just let a formatter do it, don’t fuck with the defaults, and work on your business logic instead of bike shedding on perfectly placed spaces.
Re: Three Months of Go from a Haskeller’s perspective (2016)
#15Apparently, the author of this blog post had a change of heart: https://memo.barrucadu.co.uk/blub-crisis.html > I have realised in recent conversations about programming languages, and in reflection of my very negative and kind of arrogant blog post about Go, that I have become trapped by the Blub Paradox. I have become dismissive of non-Haskell languages. I think in Haskell. Languages less powerful than Haskell are…
Re: Three Months of Go from a Haskeller’s perspective (2016)
#16Apparently, the author of this blog post had a change of heart: https://memo.barrucadu.co.uk/blub-crisis.html > I have realised in recent conversations about programming languages, and in reflection of my very negative and kind of arrogant blog post about Go, that I have become trapped by the Blub Paradox. I have become dismissive of non-Haskell languages. I think in Haskell. Languages less powerful than Haskell are…
Re: Three Months of Go from a Haskeller’s perspective (2016)
#17I actually wish gofmt was _more_ opinionated. Break my lines please. Prettier has spoiled me - write absolutely hideous looking code, and one save later it is exactly what I want almost every time.
https://github.com/mvdan/gofumpt Drop in replacement for `go fmt` and probably does most of what you want.
This looks perfect actually.
Re: Three Months of Go from a Haskeller’s perspective (2016)
#18I agree with all points with the author. But working in teams, or even mutiple teams on the same software, then go solves a lot of problems for you..
Yeah its a dumb language, missing a lot of features. But there is only 1 way to program, dependency management is sane (no circular dependencies), and the language is build for readability, not for writing code fast and elegantly...
Often short dense code with complex types is just really hard to read for your overage joe programmer.
We're not all computer scientists here.
Go is designed to write maintainable server side programs that can utilize concurrency in computer these days. Therefore they left out generics... I hope its coming. I do wish error handling and generics where part of the language... And a tuple type indeed.
Re: Three Months of Go from a Haskeller’s perspective (2016)
#19Apparently, the author of this blog post had a change of heart: https://memo.barrucadu.co.uk/blub-crisis.html > I have realised in recent conversations about programming languages, and in reflection of my very negative and kind of arrogant blog post about Go, that I have become trapped by the Blub Paradox. I have become dismissive of non-Haskell languages. I think in Haskell. Languages less powerful than Haskell are…
Re: Three Months of Go from a Haskeller’s perspective (2016)
#20In my case, my team is composed of most of DBA experts, they have no problem following Golang code.
So your programming languages of choice should base on your team.