I’m ready to get back to Elixir after spending the last few weeks using Python and ReportLab/RML to generate multi-thousand line PDF reports.
The project is only about 2/3 finished and currently stalled waiting for client answers.
While coding the Python project I kept trying to think about how I’d approach the work in Elixir (assuming a ReportLab-style package was available).
In order to create a ReportLab/RML report, I first create a (fairly large) blob of data containing information loaded from multiple .csv files and then arranged and summarized multiple ways.
In Python I use multiple classes (a base class contains many attributes that are themselves classes).
Historically, I’d tend to use dictionaries instead of classes, but I also used an IDE (VS Code) for the first time and wanted to get the IDE hints as well as type hint everything.
In Elixir:
[Read More]