Working Effectively with Erlang Legacy Code
-
Expertise
- Target audience Erlang developers that work (or plan to work) in legacy systems.
- Duration 4 hours
- Prerequisites
Erlang/OTP 22 (or newer), github, and a text editor
So you just joined a massive project with tons of poorly-maintained Erlang code. DON’T PANIC! This tutorial will teach you all the tools and techniques you need to start working on it confidently and productively.
You will learn how to use tools like the compiler, common_test, xref, dialyzer, elvis, hank, the formatter and others in large codebases which are generally hard to work on. These tools and some of the techniques will increase your confidence and help you work more efficiently.
COURSE DURATION
- 4 hours
TARGET AUDIENCE
- Erlang developers that work (or plan to work) in legacy systems.
COVERS THE FOLLOWING TOPICS
- Improving systems in an iterative way
- Testing Frameworks: Common Test, Eunit
- Cross-reference Analyzers: Xref
- Discrepancy Analyzers: Dialyzer / Gradualizer
- Linters: Elvis / rebar3_lint
- Dead Code Removers: Hank / rebar3_hank
- Security Analyzers: PEST
WHY YOU SHOULD ATTEND THIS COURSE
- Increases your confidence in dealing with large and complex systems.
- Gives you tools to help you build better applications.
- Gets you thinking in maintainability.
- Helps you follow Joe’s recommendation of writing Beautiful Code.

Brujo Benavides
Software Engineer at NextRollBrujo is a long-time Erlang developer, blogger, and trainer.
Currently working for NextRoll, from sunny Barcelona, Spain.
He's a member of the Education WorkGroup at the EEF.