3. Selecting an Object Oriented Programming language.


Hello folks!
         Welcome to the blog series. In the previous blog we have studied the advantages object oriented programming over procedural programming and we concluded on the point that we are going to use object oriented programming (OOP) in our project.


        Now we will be using the basic OOP language which is C++. We have chosen C++ because of the following points.
1)Platform or Machine Independent/ Portable
It means that C++ can run in various environments. For understanding purpose let us say we are writing code in our Linux operating system and after sometime we have to shift our operating system from Linux to say Mac operating system or Windows operating system, still the code written in C++ will be executed in a similar way.

2)Simple and easy to use
The syntax used in C++ is almost similar to that of the C language. If you are familiar with C then you will easily be to code in C++ without and syntax issues (by issues we mean syntax errors). The readability of the code written in C++ is also we good.

3)Popularity 
C++ is one of the oldest and basic programming language. The popularity of C++ is such that almost every programmer or programming geek knows C++. If we get any issue or problem there are many forums and sites which give us solutions to the issue or problem in C++ language. 

4)Compiler Dependent 
Unlike Java and Python that are interpreter-based, C++ is a compiler based language and hence it a relatively much faster than Python and Java.

5)Dynamic memory addressing
As C++ is like C programming language it also supports use of pointer for dynamic memory allocations. In latter part we will discuss more on this but for now let me tell you that here we new[] and delete[] operators.

6)Availability of libraries
As C++ is a very popular language we get access to huge variety of libraries. The function we require for hard task such as taking  system time etc are easily possible by adding relevant header files/libraries (in this case time.h).

7)Speed
As discussed earlier, C++ is compiler-based hence it is much faster than other programming languages like Python and Java that are interpreter-based.  
So now we know that we have to use Object Oriented Programming and C++ programming language to make our system, we will discuss which parameters of the cafeteria to be considered as a variables and access specifiers in next blog 

By-
Ashutosh Bardapurkar    (k-05)
Hrishikesh Deshpande    (k-16)
Archit Hiwrekar        (k-23)
Chinmay Kapkar    (k-33)

2 comments: