![pluto for kmp media player pluto for kmp media player](http://images.sftcdn.net/images/t_optimized,f_auto/p/59b88810-96d1-11e6-85ac-00163ec9f5fa/2859124120/kmplayer-screenshot.png)
Like having separate named functions, some don't. Whether one actually does this is purely a personal preference. (string< (first-name name1) (first-name name2))))))) So Lisp allows one to instead say: (defun sort-by-name (list) (string< (first-name name1) (first-name name2))))) ForĮxample, after a while, one sometimes gets tired of writing a separate function where thatįunction will only be used once, as in: (defun sort-by-name (list) I don't know about you, but I find that pretty soothing.Īnd as to LAMBDA, one only needs use it when they find it useful. KMP: Actually, "hello world" in Lisp looks like this: The time, daily in fact, and I've never had something that required the arcane stuff in Lisp is one of those meta-languages you either learn or avoid. Protected location in my abdomen (damn unpleasant shit).I usually avoid that second oneīy mentally going through the mechanics of "hello world" in C, or any half-a-dozen other "lambda".a cold sweat combined with the involuntary retraction of my testicles to a In an algebraic language, such keyboard macros can be muchĪfter trying to "self-learn" lisp in the 80's I get this physical reaction to the word "keyboard macros" in Emacs, where I might interactively write a program to do a lot ofĬode transformations quickly. Avoiding ambiguity is critical to the writing of correct (x)? In other words, The natural purpose of parentheses is to enclose things, so Should the cursor end up after the foo or after the That would make going forward over 'one expression' ambiguous when at the Outside, a text editor would not be sure if foo(x) were one expression (aįunction call) or two expressions (the symbol foo followed by the list
![pluto for kmp media player pluto for kmp media player](https://10-windows.ru/wp-content/uploads/2019/05/kmp-player.jpg)
In theĮxpression (foo x), it's a subexpression, so it's enclosed within it. This, by the way, also answers the question of why we don't write foo(x) and Single notion of "the expression in front of the cursor" or "the expression after the In Lisp, thereĬan't be any ambiguity because every sub-expression has its own start character, so a
![pluto for kmp media player pluto for kmp media player](https://static.apkthing.com/uploads/posts/2015-01/1420632888_kmplayer3.jpg)
Yet without that, I don't see how the editor would know. "go forward an expression", ought this go forward over 2, 2*y, orĢ*y+x? Having different editor commands to move across a sum, a product, etc. If I put the cursor at the head of 2*y+x and say
![pluto for kmp media player pluto for kmp media player](https://www.macxdvd.com/mac-dvd-video-converter-how-to/article-image/kmplayer.png)
And I don't have to reach for the mouse to manipulate large, complex expressionsīecause they are paren-bounded. I'm a touch-typist and I use the emacs commands to goįorward and backward over expressions, to swap expressions, and to delete expressions very The thing I personally like about (+ (* 2 y) x) rather than 2*y+x Show you immediately that (factorial -3) or (- (factorial 3)) was Must learn whether it means (-3)! or -(3!). Rules that make expressions like -3! confusing in algebraic languages, where you This shows you the structure and means you never have to learn obscure precedence In any place you want, as if there were no meaning to the introduction of gratuitous parenģ+(2*5)+7 means the same thing in an algebraic language as doesģ+2*5+7. Ironically it's non-Lisp languages that allow and encourage you to put ()'s Pitman: This question actually got scored down to -1 and markedĪs a troll question, but I fished it out of the barrel and restored it because everyoneĪsks and I might as well confront the issue head-on. At such length, in fact, that only the first eleven of his answers are shown below - expect more shortly! Thanks, Kent. Pitman about Lisp, Scheme, standards, and other things - He's answered your questions below, at length.