Don Y wrote:
Fine for a procedure. But, what if foobar is a
*function*!
That is ok. I forgot 'return' so you can't have a
function.
It's *really* hard to mess with this syntactic
sugar -- we've
all become so used to seeing and using it that it's ingrained
in our expectations. :-(
I think this is more the case of general expressions used
for functions and subroutines. But when you think of it
for bootstrapable language how often do you need full expressions?
Since only a few machines pre-1970's had a stack for subroutines
and/or parameters you only had a few styles of programing view
points -- FORTRAN , BASIC , LISP , INTERCAL , COBOL , ALGOL --
Forth and APL don't really count.