Threat Stack Blog and Cloud Security News

Continuous security monitoring for your cloud.

Scala @ Scale, Part 2: Compose Yourself!

by Dave Hagman , posted in Scala at Scale, HTTP request builder, Scala, Function Composition, Functional Programming


Function composition is an extremely useful tool for creating modular, testable programs. One of the most natural applications of functional composition that I’ve found is creating a lightweight, composable HTTP request builder, and with that objective in focus, this post will equip you with the tools you need to simplify your HTTP clients.

Read More [fa icon=long-arrow-right"]

Sep 12, 2016 2:20:04 PM

[fa icon="comment"] 0 Comments

Scala @ Scale, Part 1: Leaving Unhandled Errors Behind

by Dave Hagman , posted in Error Handling, Scala at Scale, Exception Handling, Scala, Functional Programming


The number of organizations investing in Scala is exploding, and for good reason. Scala combines Object Oriented and Functional capabilities as well as immutability, which makes it an extremely powerful foundation for applications that need to run at massive scale.

This series on Scala aims to bridge the gap between theory and practice by focusing on something that is not easily found on the open internet: Actual examples of functional concepts being used in production, at scale. We’ll even give you code samples!

Part 1 of the series dives into something that’s near and dear to all of us: How to incorporate error handling as a primary concern with a minimal level of effort.

Read More [fa icon=long-arrow-right"]

Jul 5, 2016 4:17:12 PM

[fa icon="comment"] 0 Comments

Subscribe via email:

Posts by Topic

see all