3 ms·
The same as in LISP. Code being data and data being code, an 'if' is a function that merely returns/evaluates either second or third argument based on first arg
by lloeki 15y ago
The same as in LISP. Code being data and data being code, an 'if' is a function that merely returns/evaluates either second or third argument based on first argument evaluation.
Reminds me of this tiny LISP: http://www.brool.com/index.php/the-tiniest-lisp-in-python http://www.brool.com/index.php/the-tiniest-lisp-in-python