Technical requirements
For this chapter, any version of Go will suffice for implementing the pre-generics library code. Once we move to the post-generics libraries, a version of 1.18 or higher will be needed to support the code. All the code can be found on GitHub at https://github.com/PacktPublishing/Functional-Programming-in-Go./tree/main/Chapter11.
There are a few things to call out before we dive deeper into this topic that relate somewhat to the technical requirements.
Is the library alive – and do the examples still match it?
When writing a book about a specific programming language, it is hard to write it in an evergreen fashion. But programming libraries are perhaps even harder to keep evergreen than any other content. There are two reasons for this, which are important to acknowledge:
- The implementations can change, and versioning is not always respected.
- The library may become unsupported in the future.
The first problem, changing implementations...