Languages and its Types
-Procedural
-Functional
-Object Oriented
Procedural:
-Specifies a series of well structured steps and procedures to compose a program.
-Contains a systematic order of statements, functions and commands to complete a task. (e.g. Java, c++,python)
Functional:
functions- you can say that its a bundle a code together and then you can use that many many times :)
-writing a program only in pure functions i.e. never modify variables, but only create new ones as an output
-used in situations where we have to perform lots of different operations on the same set of data, like ML.
-First class functions
so if i can assign or resign a function to another function just like how we can assign a data to a variable in normal case.
(e.g. Python:Not pure functional programming lang but it does follow the theories of functional programming)
Object oriented:
-revolves around object.
-Code + Data = Object
-Developed to make it easier to develop, debug, reuse, and maintain software.
Classes : A custom data type : Named group of properties of functions/ collection of all and an instance of this class is known as Object. For example you can say we are of human class and i am an object(instance),Human is a template.
(E.g. Python,c++,java)
Well well well its my first blog and i hope it is a little bearable as i am new to this
thanks!!!