What is a first class programming construct?

前端 未结 6 887
误落风尘
误落风尘 2020-12-24 01:59

When trying to do something fairly advanced in C# (like some sort of hack), the concept of \"first class\" is raised.

For example, a method is a first class programm

6条回答
  •  萌比男神i
    2020-12-24 02:51

    The C2 wiki has a good entry on first class language constructs. Basically, it's stuff that you don't have to fake within a language.

提交回复
热议问题