© Sandeep Nagar 2017

Sandeep Nagar, Beginning Julia Programming, https://doi.org/10.1007/978-1-4842-3171-5_2

2. Object-Oriented Programming

Sandeep Nagar

(1)New York, USA

2.1 Introduction

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 ...

Get Beginning Julia Programming: For Engineers and Scientists now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.