|
This thread ought to "go" ... back to GBS that is! etcetera08 posted:json doesn't have the concept of other number types. http://golang.org/pkg/encoding/json/#Unmarshal JSON's only concern with numbers is their parse; their representation upon deserialization is an implementation decision. An implementation typically uses 64-bit floats only for compatibility with the lowest common denominator prosumer of JSON: Javascript. Deus Rex fucked around with this message at 22:24 on May 7, 2014 |
# ¿ May 7, 2014 22:20 |
|
|
# ¿ Apr 29, 2024 05:31 |
|
Voted Worst Mom posted:What's wrong with type assertions? They fail at run time, superior type systems don't need them (or even have them), maintaining and accessing type information at run time is prohibitively expensive for some cases.
|
# ¿ Feb 27, 2015 19:24 |
|
polpotpotpotpotpot posted:Yeah, caring about how gofmt is formatting your poo poo indicates you don't understand how great gofmt is. That's not a very strong argument. If gofmt formatted each of your files into a single line, would you still feel that way? It's possible to simultaneously feel that a tool like gofmt is a great idea, and also that the formatting decisions it makes are problematic at times.
|
# ¿ Apr 20, 2015 03:23 |
|
sarehu posted:This is the best reason I have so far for why Go should not have generics: http://forums.somethingawful.com/showthread.php?threadid=3693703&pagenumber=2#post444927286 What does that have to do with generics?
|
# ¿ May 5, 2015 07:47 |