Quantcast
Channel: User Filip Milovanović - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 164

Comment by Filip Milovanović on why would one use the "Functional Options" pattern in go?

$
0
0
This does indeed look like a functional programming version of Joshua Bloch's builder pattern. One of the motivations there was the lack of named parameters in Java. Another one is to avoid telescoping constructors.

Viewing all articles
Browse latest Browse all 164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>