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

Lisp Questions

Name: Anonymous 2011-11-18 19:59

So I have some questions about lisp. I've been learning programming but I hear some conflicting information so I need some things cleared up.

First of all, I keep hearing that the ability to wrote code others can read is huge, but since lisp is incredibly hard to read, wouldn't that make lisp programmers inherently bad programmers?

Also, can someone post some non-trivial lisp code? Every time I see someone post lisp code it's always something very short and trivial. Is it possible to write anything real with lisp?

Name: Anonymous 2011-11-23 3:49

>>53

If you want complete precision, and if you happen to be squaring a rational over and over, the number of digits in the numerator and denominator with double after every squaring, regardless of the implementation for the multiplication. Dividing out a greatest common divisor is not possible in this situation, assuming the fraction starts out in a simplified form. The point is that there are times where arbitrary precision is not possible (or at least no worth the time and memory, which can grow exponentially with the number of squaring operations), and you will need to sacrifice precision after a certain point. This isn't hard to do, but if you are going to do it, you may as well just use fixed point decimal and use enough digits to represent the range of values you'll need.

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