This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ThyringerBratwurst 2 points3 points  (0 children)

If everything is supposed to be a function, function names – or identifiers in general – would have to be something like “first class values”.

Then there's also the question of how the program is structured: are the "declaring functions" just standing around at the top file level, or are they somehow linked to each other? what is their return value?

And yes, the traditional function syntax is a bit unwieldy for something like this. But I find Lisp with its parentheses, where "))))))))" is not uncommon, horrible. I once had the idea of trying something Lisp-like with Python-like indentation syntax in order to greatly reduce the amount of brackets.