What are “Classes” in programming and how are they distinct from functions? What about their applications?

297 views

What are “Classes” in programming and how are they distinct from functions? What about their applications?

In: 10

21 Answers

Anonymous 0 Comments

I think you can say a class groups functions together and allows you to partially apply them all. Partially applying the functions is called instantiating or constructing, and the result is an object.

This allows you to separate out the code that invokes the partial application (i.e. constructing the object) from the code that uses the partially applied functions.

You are viewing 1 out of 21 answers, click here to view all answers.