Cleaning up Erlang code is a dirty job but somebody’s gotta do it


By Erlang Central | Published: September 5, 2009



This paper is co-authored with Thanassis Avgerinos. It describes opportunities for automatically modernizing Erlang applications, cleaning them up, eliminating certain bad smells from their code, and occasionally also improving their performance. In addition, we present concrete examples of code improvements and our experiences from using a software tool with these capabilities, tidier, on Erlang code bases of significant size.

Download Presentation Download

Speakers:

  • Kostis Sagonas

    HiPE compiler writer and tool developer
    National Technical University of Athens, Greece

    Kostis Sagonas is an academic who has been involved in the development of the Erlang language and its implementation since 1999. At Uppsala University, he has led the development team of the HiPE native code compiler. Together with his students he has contributed directly to various changes and additions to the Erlang language (e.g., bit-level pattern matching and bit-stream comprehensions, type and spec declarations, etc.) its libraries and runtime system support for concurrency. A hacker at heart, he has created widely used software development tools for Erlang, like dialyzer which by now has located literally thousands of bugs and software defects in Erlang programs. At NTUA in Athens, he has turned his obsession for clean designs and programs into yet another slick software tool for Erlang, called tidier, whose details are going to be unveiled for the first time at the Erlang Factory.

    • Kostis' old homepage at Uppsala University, Sweden
    • Kostis' newer homepage (with Greek letters!) at the
         National Technical University of Athens, Greece

    Kostis Sagonas