β οΈ This post links to an external website. β οΈ
Elixir is an amazing language and itβs been a huge privilege being able to work with it for over a decade now (how time flies)!
Iβd like to point out an issue that, if overlooked, can severely impact productivity in your team. Yes, Iβm talking about module (re)compilation.
You make a few changes to a single file in your codebase and hit recompile. Boom:
Compiling 93 files (.ex). Then you make another change and boom:Compiling 103 files (.ex).Weβve all been there. There is a solution to this problem. Whether the solution is painful depends on how long this problem has gone unaddressed in your codebase.
If you donβt actively fix this, the number of recompiled files will likely grow as your project grows, and the harder it will be to get rid of it.
continue reading on r.ena.to
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.