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

What's bad about Python?

Name: Anonymous 2005-12-21 8:09

Because I'm learning it, almost done through the tutorial, and it looks great.

Name: Anonymous 2011-07-23 16:30

>>188
Lisp is in many ways a DSL for dealing with heap allocated cons cells. A cons cell is a struct with 2 pointers in it. So yes, Lisp has pointers. Even though a cons cell itself may be passed by value, what it points to does not. Regardless, what you use pointers for in C basically is to manipulate the heap. In Lisp, there is no practical difference between the stack and the heap anyway. 

And I'm not sure what you mean by "static types." If what you want is the ability to dispatch functionality based on the types of arguments, then Common Lisp includes the most dynamic and powerful means of doing this ever devised: the Common Lisp Object System. It is not static typing, but this is a powerful feature -- you can change something's type at run time, for instance.

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