News for hackers. Stuff that matters.
Re:The State of Go by cetxcz on Sunday February 05, 2017 @01:43PM (#13573787)
The conversion feature is in fact very convenient.

We often keep different types for what we get from the user (JSON) and what we write on the database (e.g: BSON). Having the ability to convert between them without having to re-type everything is useful for a lot of code out there.

Re:The State of Go by calcifer on Sunday February 05, 2017 @05:24PM (#13575043)
To be fair, you can do that right now with unsafe.Pointer, but of course it's better to have a compile time checked version of it.