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

Pages: 1-4041-

Lisp: Productivity?

Name: Anonymous 2007-05-20 11:48 ID:HUQdWzo1

From 'Practical Common Lisp':

"If you think the greatest pleasure in programming comes from getting a lot done with code that simply and clearly expresses your intention, then programming in Common Lisp is likely to be about the most fun you can have with a computer. You'll get more done, faster, using it than you would using pretty much any other language."

So /prog/, do you agree?

I am not very familiar with lisp but I have decided now that I am going to spend some time learning it. I just want to know whether this statement is complete bullshit or not, before I get started. Even if it's not true, I still want to learn lisp.

I mean, I'm sure I could be more productive in CL than in, say, C, but what about compared to Ruby or another such language, which frankly make me frighten myself with my own productivity.

Discuss.

Name: Anonymous 2007-05-20 12:03 ID:Heaven

do this in common lisp and you will have your answer:
$a=$_=pop;s/./$'H./;y/:-@[-` --{-/A-Ga-f./;$_=crypt$a,$_;/.../;print$'

Name: Anonymous 2007-05-20 12:05 ID:tAXBQUsx

>>1
Not completely untrue compared to many other languages. Haskell does it better, though.

Name: Anonymous 2007-05-20 13:27 ID:fBk7Nd3C

>>1
Reaching for the parenthesis buttons stops you from being able to produce code faster than a brainfuck programmer.  I suspect the real-life EXPERT PROGRAMMERs, such as Paul Graham, have remapped some keys to write code faster.  I guess you could use the left and right control keys to insert parenthesis, and map control on caps lock.

Oh, and use Haskell.

Name: Anonymous 2007-05-20 14:03 ID:tAXBQUsx

>>4 is actually partly right. If the OP is serious about getting into CL, he definitely needs a good editing environment (read `Emacs+SLIME').

Name: Anonymous 2007-05-20 16:09 ID:gn3xTLeo

>>5
seconding this, I didnt understand how powerful lisp can be until using SLIME.

Name: Anonymous 2007-05-20 20:22 ID:HUQdWzo1

OP here

I have already set up Emacs + SLIME and I'm very impressed already. I've just spent an enjoyable evening with this stuff and at this rate I'll continue until the sun comes up.

Again, very impressed.

Name: Anonymous 2007-05-20 20:27 ID:M3nyo3AV

I wish I had the time to look at things like this. 48 hours of professional programming per week really takes it out of me when it comes to any recreational coding.

Name: Anonymous 2007-05-20 20:28 ID:M3nyo3AV

>>8

Or recreational anything

Name: Anonymous 2007-05-21 0:02 ID:Bc6ZvR8d

Yeah lisp is really productive... just look at all the things written in lisp! oh wait

Name: Anonymous 2007-05-21 5:30 ID:Heaven

>>9
there's always time for recreational drug use

Name: Anonymous 2007-05-21 11:21 ID:2VI6u3Lu

>>10
lol failed troll, there is tonnes of stuff written in lisp.

Name: Anonymous 2007-05-21 12:06 ID:/D7wq09R

>>11

I got bored of that

Name: Anonymous 2007-05-21 12:27 ID:VRuXg7u0

>>12
examples?

Name: Anonymous 2007-05-21 13:23 ID:mhjqIPrt

>>14
how dare you request evidence from >>12 to back his statement up.  never come back to this board again.

Name: Anonymous 2007-05-21 13:27 ID:P4aFpANr

Vagina is hungry!

Name: Anonymous 2007-05-21 14:10 ID:2VI6u3Lu

>>14
Sorry im not giving you examples, If you are interested you know how to search.

Name: Anonymous 2007-05-21 14:15 ID:daxH69RC

>>17
Hahahahaha.

Name: Anonymous 2007-05-21 14:35 ID:VRuXg7u0

>>17
http server? computer algebra system? you must be joking.
he was asking for software written in lisp that people use, not for software written in lisp.

Name: Anonymous 2007-05-21 14:36 ID:VRuXg7u0

*i was asking

Name: Anonymous 2007-05-21 14:40 ID:2VI6u3Lu

How about this:

Remain ignorant and say what you like about lisp, see who listens to you (java, C++ites etc, the brainless), or
Do some exploration, find out some facts and see now who cares what you have to say.

Name: Anonymous 2007-05-21 14:47 ID:Bc6ZvR8d

At least Haskell has darcs. Lisp has nothing. NOTHING.

Name: Anonymous 2007-05-21 15:06 ID:2VI6u3Lu

>>22
asdf-install

Name: Anonymous 2007-05-22 4:44 ID:OPRBzJAo

>>19
haha yeah, who uses computers for mathematics anyway

Name: Anonymous 2007-05-22 7:29 ID:Kx1TulDe

Anyone here use Amazon? Because its backend is a weird combination of Lisp and Java.

Guess Lisp was too powerful, so they had to counter it with some fail.

Name: Anonymous 2007-05-22 12:35 ID:izVk66Yf

>>25
Combining one of the best languages ever with one of the worst pieces of shit... talk about bittersweet.

Name: Anonymous 2007-09-05 20:40 ID:Ms1modUM

>>26
yeah its pretty sad that the godly java has to put up with lisp
hopefully they'll open their eyes and make it 100% java

Name: Anonymous 2007-09-05 22:20 ID:ZkLypZq6

>>24
I do.

Name: Anonymous 2007-09-05 22:32 ID:ftHD9wWs

>>2
It's pretty easy to make CL output random characters.

Name: Anonymous 2007-09-06 1:22 ID:wvQkfZwV

havent done lisp ina while but I think its like
(while 1 (printf (random (% 256))))

Name: Anonymous 2007-09-06 9:23 ID:K5X9UIww

>>30
I don't think so.

Name: Anonymous 2007-09-06 11:46 ID:zCttGIDn

>>26
That'd be bittersuave

Name: Anonymous 2007-09-06 19:26 ID:leu7Hbux

I just downloaded Practical Common Lisp and On Lisp. PCL has some chapter-sized example programs in it. I'm still looking for real examples from Paul Graham.

My first introduction to Lisp was back when XLisp/Winterp came out and my co-worker wrote a Motif GUI database form MUCH faster than anyone could do it in C++. The code was half a page. All our jaws dropped. But we couldn't talk the boss into switching even a little part of the system to Lisp. (I would still have that program if CD's didn't die sitting on the shelf.)

So, to me, it's not a question of whether Lisp is better, faster, and smaller. I know it is. I just need to see more examples from professional, in-the-trenches programmers who really know what they're doing and write practical Lisp apps.

Name: Anonymous 2007-09-06 19:32 ID:voqo3OW/

I've been doing Lisp commercially for about 3 years.  Yes, the productivity is phenomenal, but only once you "get it".  Even understanding how Lisp works, if you try to write it using the same approaches as Java OO or an imperative style, it'll be just as clunky as your prior language.  You need to learn how to think of solutions from a functional approach, and only then does code size plummet while productivity shoots through the roof.

Like >>3 said, it's also not necessarily unique to Lisp.

Name: Anonymous 2007-09-06 20:06 ID:+RvXtB17

>> compared to Ruby or another such language, which frankly make me frighten myself with my own productivity.

too bad ruby on rails is slow as fuck

Name: Anonymous 2007-09-07 1:21 ID:7jfaMxEE

emacs is written in lisp and C

lots of people use emacs

therefore lots of people use lisp

Name: Anonymous 2007-09-07 2:48 ID:AMPvaFuo

>>33
can you upload the code?

Name: Anonymous 2007-09-07 2:58 ID:jwcGMapR

>>36
can you upload the code?

Name: Anonymous 2007-09-07 4:16 ID:fuojohOE

>>38
can you upload the BBcode?

Name: Anonymous 2007-09-07 4:17 ID:zDKSE+ba

40GET

Name: Anonymous 2007-09-07 4:20 ID:zDKSE+ba

>>2
do this in perl and you will have your answer
Fixed. The fact a line of code is short doesn't tell anything about the time it took to write or its readability and maintainability.

That said, I think Python is more productive than Common Lisp, and Common Lisp is far more productive than Java, and Java is sometimes a bit more productive than C.

>>4
lern2type

Name: Anonymous 2009-01-14 12:43

LISP

Name: Anonymous 2009-09-19 1:34

Lain.

Name: Anonymous 2009-09-19 1:34

Lain.

Name: Anonymous 2010-12-06 9:54

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-20 19:20

Name: Anonymous 2011-02-02 22:43

Name: 2012-01-25 6:52

Name: Anonymous 2012-01-25 6:52

              JJJJJJJJJJJEEEEEEEEEEEEEEEEEEEEEEWWWWWWWW                           WWWWWWWW   SSSSSSSSSSSSSSS
              J:::::::::JE::::::::::::::::::::EW::::::W                           W::::::W SS:::::::::::::::S
              J:::::::::JE::::::::::::::::::::EW::::::W                           W::::::WS:::::SSSSSS::::::S
              JJ:::::::JJEE::::::EEEEEEEEE::::EW::::::W                           W::::::WS:::::S     SSSSSSS
                J:::::J    E:::::E       EEEEEE W:::::W           WWWWW           W:::::W S:::::S         
                J:::::J    E:::::E               W:::::W         W:::::W         W:::::W  S:::::S         
                J:::::J    E::::::EEEEEEEEEE      W:::::W       W:::::::W       W:::::W    S::::SSSS      
                J:::::j    E:::::::::::::::E       W:::::W     W:::::::::W     W:::::W      SS::::::SSSSS 
                J:::::J    E:::::::::::::::E        W:::::W   W:::::W:::::W   W:::::W         SSS::::::::SS
    JJJJJJJ     J:::::J    E::::::EEEEEEEEEE         W:::::W W:::::W W:::::W W:::::W             SSSSSS::::S
    J:::::J     J:::::J    E:::::E                    W:::::W:::::W   W:::::W:::::W                   S:::::S
    J::::::J   J::::::J    E:::::E       EEEEEE        W:::::::::W     W:::::::::W                    S:::::S
    J:::::::JJJ:::::::J  EE::::::EEEEEEEE:::::E         W:::::::W       W:::::::W         SSSSSSS     S:::::S
     JJ:::::::::::::JJ   E::::::::::::::::::::E          W:::::W         W:::::W          S::::::SSSSSS:::::S
       JJ:::::::::JJ     E::::::::::::::::::::E           W:::W           W:::W           S:::::::::::::::SS
         JJJJJJJJJ       EEEEEEEEEEEEEEEEEEEEEE            WWW             WWW             SSSSSSSSSSSSSSS 

Name: Sgt.Kabu섫隰kiman㓋ꝕ 2012-05-29 2:11

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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