4 ms·
Or, rather, maybe it will read better, about a generation after the first crop of high schoolers start being taught f(x).sin().log() instead of log(sin
by kazinator 12y ago
Or, rather, maybe it will read better, about a generation after the first crop of high schoolers start being taught
f(x).sin().log()
instead of
log(sin(f(x))).
- aaron-lebo 12y agoI get what you are saying, but when you are talking about programming languages as opposed to math or another domain, more people are familiar or comfortable with the former, hence the reason for numerous posts like the original having to explain why lisp's syntax is a good thing.
- kazinator 12y agoPosts explaining why Lisp's syntax is a good thing have to deal with moving the left parenthesis to include the function: log(sin(f(x)))) -> (log (sin (f x))) They don't have to evangelize function composition being indicated by nesting.
- Someone 12y agoThat should be x.f().sin().log() and that is exactly what they type on their calculators: [3] [1/x] [sin] [log] (either that, or I am getting old. Modern graphing calculators may have different input modes)