November 2017
Intermediate to advanced
670 pages
17h 35m
English
What? A for loop? A mutating car variable? What gives? We must face the facts. The Go compiler does not provide TCO, so a recursive implementation is simply not practical. Perhaps Go 2.0 will provide a pure functional library with all our favorite HOFs as well as generics. Until then, we will make do with using the functional programming style as much as possible with a bit of imperative programming where necessary. Another option that we'll explore later is an execution system named Gleam, which provides pure Go mappers and reducers that provide high performance and concurrency.