Skip to content

Article from Ewen Quimerc'h

Go Traps - nil interfaces

August 30, 2022Ewen Quimerc'h5 min read

Learn good practices about Go interfaces to never get a runtime panic

Go is one of the programming languages I love the most. It allows a very fast execution time (unlike Python) without affecting negatively the developer experience (unlike C), and is strongly typed (unlike TS where you can lie to the compiler). But it has some flaws, and nil interfaces are a tricky…

Continue reading →