title | date | draft |
---|---|---|
How I built an audio library using the composite pattern and higher-order functions |
2017-08-12 16:21:12 +0200 |
true |
Some people say that Go can't express good abstractions. They mostly refer to the lack of generics. That's because in most object-oriented languages, people are used to creating abstractions around types. In Go, the right way is to create abstractions around behaviour using interfaces and higher-order functions. When you follow this principle, you find that Go is very powerful at