go back to whatever you were using before and leave prog
Name:
Anonymous2013-07-02 15:13
sim salabim? WTF
nobody with more clever points?
Name:
Anonymous2013-07-02 15:16
do you think its cool
use
otherwise dont
fuck off
Name:
Anonymous2013-07-02 15:16
>>3
the average 4chan tough guy
what else?
fuck u dude
Name:
Anonymous2013-07-02 15:19
>>5
i dont know if its cool
im asking you why do u find it cool!!
/e.g/ why is it better to write + 2 2 than 2 + 2 ? i could get used to it if wanted to but why?
Name:
Anonymous2013-07-02 15:22
>>8
because then it has the form of a s-expression
read sicp properly and you'll learn why this is good
it's right there in the beginning
Name:
Anonymous2013-07-02 15:25
AI involves a lot of calculus and linear algebra. Most programming languages are only good for basic arithmetic and a handful of common trig functions. In Lisp, it's easy to write a macro derivative such that (derivative (expt x 2)) => (* 2 x). Do that in even a high level scripting language, you'd have to write your own data structures and some verbose API. Functional programming in general is a very natural way to implement matrix and vector operations. Exact numbers also help. Try writing a reduced row echelon algorithm using floating-point. It's worthless.
Name:
Anonymous2013-07-02 15:30
>>8
is there a more simple LISP tutorial for beginners?
i dont say SICP is bad but u are supposed to know already a lot!
Name:
Anonymous2013-07-02 15:34
>>7 why is it better to write + 2 2 than 2 + 2 ? i could get used to it if wanted to but why?
If you're familiar with calculus, read this section:
(+ 2 2) isn't just an expression, it's a data structure. It's a list containing the function +, 2, and 2. You can take the derivative or integral of it. You can reduce it or expand it. It's anything you need to be for a particular application. In other languages, 2 + 2 is just 4.
The most influential AI researcher at the time was also the creator of Lisp, and it was the only decent language with garbage collection, convenient data structures and dynamic types, so it figures that it was used.
Name:
Anonymous2013-07-02 16:35
>>1
It is just pure coincidence Lisp was used exclusively for AI.
Although Lisp does have a good support for code-transformation, so it makes sense writing compilers and decompilers in Lisp, and we keep wondering why Lisp wasnt created by compiler researches and OS designers.
Name:
Anonymous2013-07-02 16:56
Anyone heard of a "SICP: C Edition"? The Scheme thingy is kinda... meh