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

Which would you choose /prog/?

Name: Anonymous 2008-03-26 3:38

I've already got Python and C/C++ under my belt and I was considering learning either Lisp or Lua to continue on my journey. Lisp because it's so so so different, but mostly because it can compile to machine code. Lua because it's different from Python and C++, faster than Python, and often used for games.

So:
A. Lisp
B. Lua

(what sadistic fuck would name the condition of having a lisp "Lisp"!?)

Name: Anonymous 2008-03-26 5:04

This was already discussed in http://dis.4chan.org/read/prog/1204983387

Name: Anonymous 2008-03-26 5:05

Lisp, especially Scheme dialect.
data and program indistinguishable.

Name: Anonymous 2008-03-26 7:47

They are both equally useless, except if you want to write games, in which case you should learn Lua and embed it for scripting instead of hacking up your own language/interpreter. You should then proceed to kill yourself.

Name: Anonymous 2008-03-26 10:24

ergo your wrong bitch

Name: Anonymous 2008-03-26 16:31

>>3
No, they're not!

Name: Anonymous 2008-03-26 17:04

>>5
im not ergo and what about my wrong bitch???

Name: Anonymous 2008-03-26 17:14

>>5
you sick bastard, leave my wrong bitch outta this

Name: Anonymous 2008-03-26 17:33

███ █▀█ ░ ▀█▀ █▀▀ ░ █▀▀ █▀▀ ▀█▀ █▀▀ █▀█ █▀▀
█░█ █▀▀ ░ ░█░ ▀▀█ ░ ▀▀█ █░░ ░█░ █▀░ █▀█ █░█
▀▀▀ ▀░░ ░ ▀▀▀ ▀▀▀ ░ ▀▀▀ ▀▀▀ ▀▀▀ ▀░░ ▀░▀ ▀▀▀

Name: Anonymous 2008-03-26 19:14


█ █  █▀█ ░ ▀█▀ █▀▀ ░ █▀▀ █▀█ █▀▀
░█ █░▀▀█ ░ ░█░ ▀▀█ ░ █▀░ █▀█ █░█
█ █░░ ░▀ ░ ▀▀▀ ▀▀▀ ░ ▀░░ ▀░▀ ▀▀▀

Name: Anonymous 2008-03-26 20:33


█ █  █▀█ ░ ▀█▀ █▀▀ ░ █▀▀ █▀█ █▀▀
░█ █░▀▀█ ░ ░█░ ▀▀█ ░ █▀░ █▀█ █░█
█ █░░ ░▀ ░ ▀▀▀ ▀▀▀ ░ ▀░░ ▀░▀ ▀▀▀

Name: Anonymous 2008-03-26 20:48

+++++++[>+++++>++++++>++++>+

+++>+<  <<<<-  ]+++++  +[>+++
+++      ++>   +++     +++ ++
++>+++   +++   +++     ++>+++
   +<<   <<-   ]+>     >>+
+++>[<  -]+++  ++[>>>  >--

 --<<<<   -]>.>.  >.>><<
 +++      .>> ++  +++ +<
 .><      <++ ++  >>[<<-
 ->>      -]< <+  ++  ++.
 <-----   [>-<-   --   ---  ]>+

+++++.------.>++++++[>++<-]>

+    +++ .
<    + + +
+    [ > -
---- --- <-]>--.

Name: Anonymous 2008-03-26 20:50

>>12
Valid Brainfuck

Name: Anonymous 2008-03-26 20:52

>>13
DON'T HELP HIM !!

Name: Anonymous 2008-03-26 20:55

>>14
Needs more [b] tag

Name: Anonymous 2008-03-26 22:22

>>15
DON'T HELP ME

Name: Anonymous 2008-03-27 1:09

>>15
Back to [b] tag

Name: Anonymous 2008-03-27 1:28

Lisp, but not Scheme, because Scheme does it wrong.

Name: Anonymous 2008-03-27 9:41

[b] tag and two exclamation marks. No need thanking me, I invented it after all.

Name: Anonymous 2008-03-27 15:38

>>19
DON'T HELP ME !!

Name: Anonymous 2008-03-27 17:52

>>18
What exactly does Scheme wrong? I think Scheme is much nicer than  old and bloated CL.

Name: Anonymous 2008-03-27 18:40

>>21
What you percieve as "old bloat" is actually a little thing I like to call "decades of experience embodied". Scheme is just a wannabe functional language that wouldn't even be well known if all the other Lisps hadn't combined into CL.

Name: Anonymous 2008-03-27 18:45

C/C++
I lol'd

Name: Anonymous 2008-03-27 19:12

>>22
Scheme is great for its simplicity.
CL is indeed quite powerful and easier to write well-structured programs that do something.

Name: Anonymous 2008-03-27 19:40

Go ahead, try out Lisp.
You'll come crying home to Python's standard library soon enough.

Name: Anonymous 2008-03-27 19:59

What about Qi? Anyone familiar with it?

Name: Anonymous 2008-03-27 20:34

>>24
No argument here. Scheme is definitely a great language for some things. I would probably use it if I taught a lot of new programmers. It's just not what I would recommend to a programmer looking for the Lisp experience.

>>26
Yes. It's got some neat bits and it's great that it comes with a PDF of Functional Programming in Qi. I'm working through the book right now. I like that it's not necessary to quote symbols (foo rather than 'foo), and pattern matching is pretty awesome.

I'm still scratching my head a little over working with types... really I think studying the sequent calculus is going to be necessary. For some baffling reason, anonymous functions are all unary. Not sure how that was a good idea. Some of its notations make me uncomfortable. I don't really see why

(define foo
  X Y -> X where (= Y X)
  _ Y -> Y)

is better than something more list-based.

Name: Anonymous 2008-03-27 21:32

Does the Qi standard mandate capitalization of variables?

Name: Anonymous 2008-03-27 22:00

>>28
I don't believe there is a standard, but yes, it's necessary to capitalize the first letter of a variable. That's how Qi tells them apart from literal symbols.

Name: SyntaxTheory 2008-03-27 22:26

>>26
Qi is shit, fuck you for even mentioning it

Name: Anonymous 2008-03-27 23:58

>>27
For some baffling reason, anonymous functions are all unary.

http://en.wikipedia.org/wiki/Currying
?

Name: Anonymous 2008-03-28 0:33

>>27
Oh, you're that fag from /pr/. Read SICP.

Name: Anonymous 2008-03-28 1:34

>>31
It's pretty much essential. I don't see why he thought ((/. X (/. Y (+ X Y))) 2 3) was preferable to (/. (X Y) (+ X Y)).

Name: Anonymous 2008-03-28 1:37

In λ-calculus all functions are unary.

Name: Anonymous 2008-03-28 1:43

>>26
Qi is a layer on top of Common Lisp which redefines the reader, bringing types, pattern-matching and some other stuff to CL. You can mix CL and Qi together.

Name: Anonymous 2008-03-28 2:08

>>34
AND THAT'S WHY WE WRITE ALL OUR PROGRAMS IN THE LAMDA CALCULUS

Name: Anonymous 2008-03-28 2:08

>>36
you do in haskell

Name: Anonymous 2008-03-28 3:46

>>37
No you don't.

Name: Anonymous 2008-03-28 3:47

>>32
No, I'm that fag from /prog/.

Name: Anonymous 2008-03-28 5:04

>>38
SPOILER: All functions in Haskell are unary. That's why currying exists.

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