Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

First-class everything

Name: Anonymous 2012-03-09 18:57

Do any programming languages have everything as first-class citizens? This includes not only functions, but types, classes, etc. too. Having everything first-class can be a flexible and non-kludgy alternative to generics/templates.

Name: Anonymous 2012-03-09 22:08

I was actually going to try to implement first class types in a programming language. You could implement a function which takes arbitrary arguments (including other types) and returns a type, created at run time.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List