Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Lisp

Name: Anonymous 2012-01-19 4:53

Planned to start learning Lisp. Any advice, how much is it even used etc.

Name: Anonymous 2012-01-19 4:59

Learn Ruby instead. Its got built-in SAF.

Name: Anonymous 2012-01-19 5:09

Read SICP, Practical Common Lisp (+On Lisp, AMOP, CTLTL2, PAIP, Hyperspec, ...).
How much is it used? It's not the most popular language, but has good and well-maintained implementations and lots of libraries, which means it's suitable for most general purpose programming, and once you're familiar with it, it tends to be easier to do complex things in it ``the right way'' (as opposed to quick hacks, although you can also do that if you wanted). There's also high-performance implementations which means that not only you get performance, but also minimizes the time it takes to write your code (an advantage similar to that given by scripting languages, but without the speed penalty).

Name: Anonymous 2012-01-19 6:39

Why should one choose lisp anyway?
What are its advantages?

Name: Anonymous 2012-01-19 6:57

>>4
Very good metaprogramming support and just about everything in the language is user definable/controllable, be it syntax, semantics, the OO system, ... . Good default language features. Support for many different programming paradigms. Decent performance. Structural editing. Allows for fairly rapid development cycles - no compile/run/... - you can compile functions as you write them and redefine just about anything.

In my case I found that it matches pretty well with my mental model of the program I'm trying to write and it takes me much less time to write my code, and less time to debug it. When I want to do something which isn't directly supported by the language, I don't have to feel like I'm fitting a square peg in a round hole by using some boilerplate-like design pattern - I can just quickly implement the language feature that I feel is missing with little effort.

Name: Anonymous 2012-01-19 8:13

>>2
How is ruby better? Same program written in CL runs 10 times faster than in ruby.

Name: Anonymous 2012-01-19 9:05

>>6

that's a "joke" or "troll" post referring to a recent thread where ruby was smashed for being full of design flaws.

Name: ‮ nevaeH :DI ‭Anonymous 2012-01-19 11:56

What is a MOP (Meta Object Protocol)?  I'm implementing my own Lisp so I want to know.

Name: Anonymous 2012-01-19 12:14

>>8
Read the AMOP (Art of the Meta-Object Protocol).
AMOP shows how CLOS can be implemented in itself using a MOP - in a metacircular manner.
The MOP lets you define object systems like CLOS, or to extend CLOS in many ways beyond those specified by the ANSI CL standard. The MOP is supported by most major implementations and it tends to be the exposed interface to CLOS' internals (it has a standard document and there is even a compatibility layer (closer mop) that makes sure you get the same interface across all implementations), but it should not be treated just as something on top of CLOS: it's something on top which CLOS itself is based, and you can build any OO system that you'd want on top of it, or greatly customize CLOS (which itself is one of the most advanced OO systems out there, as far as features go).
Much of MOP's functionality centers around reflection support: you have meta-objects representing classes and generic methods and well-defined interfaces for accessing or changing them.  The book not only shows how CLOS can be defined in itself, but also shows how a CL without CLOS could be extended to support it (this was true for '80's CLs). The "toy" implementation of CLOS+MOP presented in the book is called Closette, while most modern CL implementations tend to use modified versions of the more heavy-weight (and more optimized) PCL(PortableCommonLOOPS) - they are related in both design and implementation and originate from the same source: Xerox Corp (both are MIT-like/nearly public domain licensed).

Name: Anonymous 2012-01-19 13:38

>>9
I wonder how far I can go on simplifying it without losing all of the power.  It seems to me as if (create-object (<classes>*) <any-value>) as well as a way to inject and inspect multimethods form such a subset.  I don't know.  Your thoughts on this?

Name: Anonymous 2012-01-19 14:14

>>6
One word: The explicitly keyworded ending of the block

Name: Anonymous 2012-01-19 14:53

Name: Anonymous 2012-01-19 15:46

i've honestly only touched lisp a few times but try out slime with emacs, i've heard great things

Name: Anonymous 2012-01-19 15:49

i've heard great things

Name: Anonymous 2012-01-19 15:55

i've honestly only touched dick a few times but try out anal sex with slime, i've felt great things

Name: Anonymous 2012-01-19 15:59

i've honestly only touched women a few times but try out sex with rubber doll, i've heard great things

Name: Anonymous 2012-01-19 16:59


                                                                                                                            
       `                                                                                                                    
     `mN:            -so            `hNh            .s+                                                                     
     `MM/           +NNo           `sMM+            -MM.             ody                                                    
     `MM:          :MM:           -dMMMs             mMs           :yMN+  `+/.............                                  
      dMy`-+oso++//mMs`          oNNo/MN-            oMm         -hMmo.   yMNNNNNNNNNNNNNN+                                 
      /MMNNmhyhhhdmMMNmh`      -hMNo-:hMN/-.``       -MM-      -yNNo`    `NM+.............`                                 
      .MM+.`     `:MM/::     `oNMNNmmmmNMMNNNmmho     mMo    `sNNs.      :MM/::.`                                           
       NM+         hMh`     :dMh-.......dMh.-:+o+     yMh   /mMh-        oMNmmmNm/                                          
       mMs         .hMd   `sNN+`        +MN.          +MN``sNN/`         yMd...-:`                                          
       dMs          .NM-  oMm-          `sh.          `NMooMm-           hMh                                                
       mMs           --   +d+                          /MNNM+           `NMmhhhhhhhh:                                       
       +Nd                                              hMMN`            :soooooooo+.                                       
        -.                                              `oy:                                                                
                                                                                                                            
                                                                                                                            
                                                                                                                            

Name: Anonymous 2012-01-19 16:59


                                                                                                                            
          .`                `oy:                                                                                            
         .mNy`             /dMd-         ``               ``                                                                
          .dMh`           sMN/          `hdy.            :mh     -y+                                                        
           .hNms:`       /MM:          -yMNNN+`          +MN     -MM-                                                       
             -omMmo`    -MM+          /NMs.-dMm/         +MN      dMy                                                       
                :hMm+` -mMy          :MM/    /NM+        +MN      /MM`                                                      
                  :mMdshMh          .NMo      /MM-       /MM`     :MM.                                                      
                   `/sNMM/          sMd        mMo       `mMy      NMo                                                      
                      mMs           dMs        mMo        .dMd-    mMo                                                      
                      mMo           +MNo.      dMs          oNMs-  dMy                                                      
                      mMs            -yNMh:` `+MM:           .smMNNMm-                                                      
                      oMN              `odMNNNNd/               .::-`                                                       

Name: Anonymous 2012-01-19 17:00


              .sy-    .s+                `.-::.                                                                             
             `hMMo                                                                                                          
            .hMMM+                      `-/oys`            :-        ``                                                     
           -mMyNM+              -mmmhhdmNNmhy+           `yNN.      /mmo.`                                                  
          `dMy+MN-              yMm+so+/:-``            -dMMM/      hMNNmNy++-                                              
          sMNsNM+               NMo  ``                +NNo+MN:     mMo..+hhMN:                                             
         -MMMMMN/              /MMNddmd`             `oMMdoomMN/   `NM/     oMN/                                            
         oMm:/+mMh-            hMh/o+:.             `sMmhhhhhsMN:   dMy      +NNh-                                          
         dMs   `omNy.          dMs                `/dMd-      yMd   /MN.      -NMs                                          
        -MM-     .sNm+`        hMd+/:-.`````     /dNd+`       .NM:  .MMo--:://oMM/                                          
        oMm        :dMh.       :hhhdmmmddddd:   -NM+`          .:`  -MMNmmmmdddy+`                                          
        yMd         `os.            `.-:///:`   :h+                 -hs/..````                                              
        +ms                                                                                                                 

Name: Anonymous 2012-01-19 17:00


         `                   .:`                                                          `-+syhhhho`                       
                            .mM/                                                         .hNmyssyNMN.                       
         `syo-`            .hMd`                                                       `oNNs.:smNNy.                        
         `syNNdy/`        `hMd`                               ``          -.           yMm/+mMds:.                          
            .:+dMd:       yMm.             :+:`              +dd:        +MN`          mMmmMMy::-```                        
                +NMs`    sMm.            .yMNNNo-.`         +MN/`        yMd           mMMNNmNNNNNmdy/`                     
                 .hMm:  sMm.            :NMy.-dNNMm/        yMh          .NM+          mMs`     .-:omMh-                    
                   +NMddMm-             yMd    ``oMN`       +MN.          dMy          mMo          `oMNo`                  
                    :NMN/               oMN`   -omMd`        yMNo`       `NMo          mMo            :hMy                  
                    :dMM/               .dMMmhNMms-           -yMNs-.` -sMMh`          mMo              `                   
                      oMN.                `-+s+-                -smMMMNMNy.            /s.                                  
                       yMm                                         ``-:.                                                    
                       .MM:                                                                                                 
                        oh:                                                                                                 

Name: Anonymous 2012-01-19 17:01


                        `:/.         `.                             :dmmhhs-                                                
                 `-+oshmmNd:         dN/         `/yy`             -NMo+yNMd                                                
               /dmNmhhs+:-`         :MM.       -smNh+`             dMmshNNy-                                                
               +MMy.                /MN      .sNNs-`              -MMdhs/.                                                  
                /dMh:               +MN     /mMy-                 +MN`                                                      
                 `omNh+:`           yMh    /NN/                   hMy                                                       
                   .+ydNdo`         hMy   `NM+                    hMh                                                       
             ..``.-:/oyNMN.         hMh   `MM/  `.-`              oMN                                                       
            `dNdmmmmddyo/.          omo    hMmhsdmmo              :mm:                                                      
             -//:-..`                .     `:+shy/-`               `.                                                       

Name: Anonymous 2012-01-19 17:01


                                                                                                         .ymNNNmmh/         
                                   ```                                                                   .o+-.:/+NMs        
                  ```  ``:-.-:/+sshdmmo                      +hys+.                   `       .:`     oh-    `:-`sMd        
                 ommmhhdmMMMNNmdhyo+/:`      ```.`          .MMhhMNo:.              `sds      oMm:   sMN-    yMMmmMh        
                 .::/oo+:yMm`               -mNNMNo         yMd  :ymNMh/           /mMMd       oMNy:-MM:     +MN+/:`        
                         hMh              `sNMs-:NM+       `MM:     `+mMd-        +MNNMd.       .omMMMy      -MM-           
                        .MM:             -mMh.   /MM.       MM/        oNMds-    .MM/`yMm`         /MM/       MMo           
                        /MM`             sMN.   /mMd`       NM+         `:sMMy.  yMd  `dMm:         dMm.      :NM-          
                        .MM:             `yMNo+hMN/        -MM::/+ooooooshdNMN- :MM/    oMMo.       `yMm`      ``           
                         yMh               :yddho`         +MMMNdhhhhhhhys+/-   hMMMNNmmMMNMm-       `NMo      -/+-         
                         -MM-                              .+o:`                .MM+-:++:.`oNMy`      +MM`    .NMMN         
                          mMy                                                   oMN`        .hMm+`     ::     `hNm/         
                          sMN`                                                 -MM/           :hd:              ``          
                          .:.                                                 `mMd              `                           
                                                                               //`                                          

Name: Anonymous 2012-01-19 17:22

fail

Name: Anonymous 2012-01-19 18:43

Someone discovered the ascii art mode of emacs today!

Name: Anonymous 2012-01-20 18:05

>>24
Emacs is a pretty good operating system, but it could use a better text editor.

Name: Anonymous 2012-01-20 18:10

>>24
No, JavE

Name: Anonymous 2012-01-20 19:15

>>25
oh the irony

Name: Anonymous 2012-01-20 20:06

Nice combo

Name: Anonymous 2012-01-21 1:51

>>25
M-x ed-mode

Don't change these.
Name: Email:
Entire Thread Thread List