There is a lot of variety when it comes to the different types of programmers. In general, is beneficial for a programmer to learn how to build a compiler? In what cases would
I think, it is better to learn from knowledge point of view. At least you can look into existing compiler source code and understand the typical compilation steps and complexity involved in each phase of compilation.