Re:Ask HN: What do you like/dislike about Golang?
by ta3411 on Saturday November 26, 2022 @06:03PM
(#33757822)
curious if you prefer Typescript or Go for backend development. My friend group told me they prefer Typescript because of shared code with client and ease of hiring.
[ Parent
| on HN ]
Re:Ask HN: What do you like/dislike about Golang?
by catlifeonmars on Saturday November 26, 2022 @06:39PM
(#33758174)
I’ve heard the shared code argument before, but in practice the only shared code I’ve really ever seen used is shared type definitions. Now shared type definitions are huge, but they’re a solved problem using JSON schema, GraphQL, or some other interface definition language that don’t necessarily require the same language in the front end and backend.
Re:Ask HN: What do you like/dislike about Golang?
by JoshGlazebrook on Saturday November 26, 2022 @06:35PM
(#33758129)
I have a nodejs+typescript backend stuck in a limbo state because of the whole esm modules fiasco. I have outdated npm modules I can't upgrade because they are ESM only, and I have old modules that will likely never update.
It's to the point where I will only be using golang for backends moving forward.