What are “first-class” objects?

When are objects or something else said to be “first-class” in a given programming language, and why? In what way do they differ from languages where they are not?

When one says “everything is an object” (like in Python), do they indeed mean that “everything is first-class”?

5 Answers
5

Leave a Comment