Abstract Objects

How do you create objects in your object-oriented language?
Let���s take something classic, like C , Java, or C#. First you define
a class, and then you make an instance of it. The first step is known
as abstraction,
and the second one as
instantiation.
A similar pair of operations
exist in functional programming: declaring a function is
abstraction,
while calling it with specific arguments is
application.
The question is:
why does OOP need classes and objects,
while FP survives with just funct...

 •  0 comments  •  flag
Share on Twitter
Published on November 30, 2020 16:00
No comments have been added yet.