Ask HN: What's a small language feature you've grown to love?
For me it's definitely Go's time.Duration type. Having a simple and standard way to handle timespans has been really helpful for my past few projects, and the parsing format has been great for command-line interfaces. No more external libraries or rolling my own, I can just type "1m2s" and Go gets it.
What about you?
1 comment
[ 3.2 ms ] story [ 14.5 ms ] thread1.1.2 Major.minor.patch.
Or better: Break.feature.fix
And that comes from the language and package manager.