A tutorial about parametric constructors in Julia (2/2)

Constructors for parametric types Correspondence between parametric types in the struct and in the constructor Smart use of promote Making Unitful-compatible types Use of @kwdef Acknowledgements Edits In the previous blog post , I have presented parametric types in Julia. In this second part, I will explain what are the ways to initialize them properly and list a few technicalities that can…