What the hell! C# question

Miscellaneous Forums/General Discussion/What the hell! C# question

Or if you want parameter lists that can be completely customized with optional arguments, preassigned arguments, and keyword arguments

such as

GraphicsInit( height = 640 ,width = 480, depth, someparam1, someparam2 = 5)

with calls such as these possible

GraphicsInit( :depth = 32 :someparam1 = 40 ) => 640,480,32,40,5

GraphicsInit( 1024, 768 :depth 16) 1024,768, 16, nil, 5

etc

use Lisp. You can even treat parameters and function calls as data to be processed with Lisp's extremely powerful macro system (nothing at all like macros in C derived languages)


Lisp, the language that all other languages are still trying to catch up to, but never will due to their clunky syntax. :p