News for hackers. Stuff that matters.
Re:Three Minor Features in Go 1.18 by Laremere on Wednesday December 22, 2021 @02:17PM (#29653760)
The investigation to justify the introduction of the Cut function was an interesting read. Really solid numbers on those data to show that the function, while redundant with other functionality provided, is an extremely common operation and worth special casing.
Re:Three Minor Features in Go 1.18 by ferdowsi on Wednesday December 22, 2021 @08:16PM (#29657618)
I enjoyed reading that too. It's great to see the amount of thought that the language maintainers put into design, especially for things like syntactic sugar (which can get overwhelming in other languages).