Julia is designed to be an object-oriented programming (OOP) language. This choice is inspired by the tremendous success of OOP languages in the computing community. The ease of defining a computational problem in OOP made it a famous computing paradigm; hence, Julia also adopted OOP. To learn Julia, getting to know OOP is a prerequisite. We have dedicated this chapter for this purpose.
2.2 Procedural Programming vs. OOP
When defining computational tasks, you can define a set procedure to solve a problem using blocks of data and connecting them as dictated by ...