Workshop Spotlight: What is Pure Functional programming and how can it improve our application testing

Posted:

Spotlight on Luca Molteni

Language: Scala
When: Friday, October 1st - 17:00 - 19:00

What is Pure Functional Programming and how can it improve our application testing

Pure functional programming is helping developers developing more robust and simpler programs, and it also helps them test the behaviour of their application in a more predictable way. In this workshop, we’re going to explain what we mean by Pure Functional Programming and try to implement some features taken from real world examples while writing tests. We’ll start from the simple unit test, moving on to the property based testing and encoding our program invariants in types. In the end, we may see an introduction of some advanced type system concepts such as dependent types.

Pre-requisites: All the exercises will be solved using the Scala programming language. You need to have the Scala environment installed. The main tool to have is SBT, you can follow the instructions here:

  • Linux: http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html

  • Mac: http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Mac.html

  • Windows: http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Windows.html

Then you have to be able to checkout this project from GitHub:

https://github.com/lucamolteni/LambdaWorld2016-PureFPTesting

And run the command

sbt test 

From the terminal.

I strongly suggest you to install the environment and try the GitHub repository before the workshop.

About Luca:

Luca Molteni is a Software Engineer whose been in love with Functional Programming since 2007. He’s very active in the Milan software developers communities, helping managing the Haskell ITA group and the Java User Group since 2010.

You can follow him @volothamp

About Lambda World:

Lambda World takes place September 30th - October 1st, in Cadiz, Spain and is hosted by 47 Degrees in conjunction with the Scala and Java communities of Spain. The event is located at the Palacio de Congresos, an old tobacco factory near the beach. You can find more details at Lambda.world.

 

 

Want to see Luca in action? Register today and join us at Lambda World!

get tickets here

Subscribe via RSS