Skip to Content
Learning Functional Programming in Go
book

Learning Functional Programming in Go

by Lex Sheehan
November 2017
Intermediate to advanced
670 pages
17h 35m
English
Packt Publishing
Content preview from Learning Functional Programming in Go

Functional IoC example

Contrast the text-based Bash script example to a web application where the user is in control:

In a GUI application, control is inverted. Instead of the program forcing the next user interaction, the user is mostly in control of what happens next. The IoC container is a web application framework that runs an event loop and handles the callback when the user clicks on controls, such as an item in the drop-down list or a submit button.

For some J2EE applications, IoC can also come in the form of XML configuration files that are injected into a Spring framework.

In a product shopping example, dependencies would be things ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781787281394Supplemental Content