▲ | umanwizard 3 months ago | ||||||||||||||||||||||||||||||||||||||||
> Go developers seem to have taken no more than 5 minutes considering the problem, then thoughtlessly discarded it: [2]. A position born from pure ignorance as far as I'm concerned There are a million things in go that could be described this way. | |||||||||||||||||||||||||||||||||||||||||
▲ | unscaled 3 months ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
Looking at the various conversations involving string interpolation, this characterization is extremely unkind. They've clearly spent a lot more than 5 minutes thinking about this, including writing their own mini-proposals[1]. Are they wrong about this issue? I think they are. There is a big difference in ergonomics between String interpolation and something like fmt.Sprintf, and the performance cost of fmt.Sprintf is non-trivial as well. But I can't say they didn't put any thought into this. As we've seen multiple times with Go generics and error handling before, their slow progress on correcting serious usability issues with the language stem from the same basic reasons we see with recent Java features: they are just being quite perfectionist about it. And unlike Java, the Go team would not even release an experimental feature unless they feel quite good about it. | |||||||||||||||||||||||||||||||||||||||||
|