|
But if you imported a random json into a dynamic type, it wouldn't be typesafe in other functions and you're playing defense with execution-time debugging. That's the whole point of strong typing. I do a lot of json with Go (rest integrations) and don't find it to be annoying. I'm defining the types I'm using anyway, it's not much extra to tack on a json tag. I also use couchDB as a back end instead of doing whatever silly file storage thing that is above.
|
# ¿ Aug 1, 2020 19:07 |
|
|
# ¿ May 12, 2024 08:09 |
|
cruft posted:I appreciate the pointers! These words should never be uttered in the Go thread
|
# ¿ Apr 12, 2023 03:09 |