© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.