
Tag: Languages
3 entradas encontradas

Go 1.27 and Generic Methods: Eight Years in the Making
I’ve been writing about Go on this blog since 2015. Back in that “What I like about Go” article I talked about simplicity, fast compilation, and how good it feels to use a language that doesn’t force you to memorize twenty ways of doing the same thing. Then Go 1.18 arrived with generics in 2022, and with them an asymmetry that has bothered a lot of people for years: you could write generic types and generic functions, but not generic methods.

Go 1.27 y los métodos genéricos: ocho años esperando
Llevo escribiendo sobre Go en este blog desde 2015. En aquel artículo de “Qué me gusta de Go” hablaba de la simplicidad, de la compilación rápida, de lo bien que sienta un lenguaje que no te obliga a memorizar veinte formas de hacer lo mismo. Y luego llegó Go 1.18 con los genéricos, en 2022, y con ellos una asimetría que ha incomodado a mucha gente durante años: podías escribir tipos genéricos y funciones genéricas, pero no métodos genéricos.

What I like about Go
I’ve always liked to see and try different technologies, and within these, of course, programming languages.
An example of this was the intensive use I gave at the time, at Arrakis, to Rebol, an interpreted cross-platform language, with everything you could need to perform great data cleaning scripts, in a “strange” syntax, but beautiful in its approach.
The case of Go was a bit different, because just like what happened to me with Angular, at the time (several years ago) I tried to give it a chance, but all the information and examples I found were “very small” blocks of code, I didn’t see in that (at a bird’s eye view) that it was finished, it seemed like a more academic/conceptual language than something for real use.




