|
|
|
|
|
by ezy
5051 days ago
|
|
I don't think this type of argument carries much weight. Just because one can get used to something, doesn't really make it a clear choice. All of these environments are good choices for many reasons. However, they aren't without major flaws. Smalltalk environments do tend to be a bear when following the code around window after window, emacs keychords are not very human friendly or composable and can give you RSI, and lisp parentheses are mainly for the convenience of the language parser, not for the programmer (contrary to the famous quote). |
|
Try using another language which allows macros and you'll see what I mean. For example, Haxe allows macros, and while it's syntax for them has recently improved, it still has a ways to go. Here's an example macro which checks if its argument is a constant string, and if it is, reads the file it represents. http://haxe.org/manual/macros/#manipulating-expressions
edit: The equivalent in clojure would be something like
Which happens to look very similar to a function that does the same thing, but at runtime instead of at compile time.