DEV Community

Discussion on: From JavaScript to Go.

Collapse
 
kaleman15 profile image
Kevin Alemán

Yeah! Typescript is an excellent, full of features, language!
I personally made an intro project with Nest.js and it's amazing.

(At least it allowed me to use generics :(. Maybe someday they come to Go)

Collapse
 
mateiadrielrafael profile image
Matei Adriel

Go doesn't have generics? What a shame:(

Thread Thread
 
kaleman15 profile image
Kevin Alemán • Edited

Per Go's own blog: Every language change has a cost. There's no doubt that adding generics to Go will make the language more complicated. As with any change to the language, we need to talk about maximizing the benefit and minimizing the cost.

You can find more on why Go doesn't have Generics yet here