Comment

Comment by mbarlocker

the thing i hate most about golang: no generics. the thing i love most about golang: super fast.

Just yesterday, I discovered their date parsing, which uses example based formats. It's pretty cool. Instead of the typical yyyy-mm-dd format nightmare, you would do 2006-01-02. The reference date is the key.

https://golang.org/pkg/time/#pkg-constants

parent mbarlocker 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton