a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by briandmyers
briandmyers  ·  4338 days ago  ·  link  ·    ·  parent  ·  post: I want to learn lisp but I need a easy to medium project to hack on to do it

I don't know if this helps, but when I was at University, many years ago, I had a data structures class and decided to use Lisp for the course-work. We could use any language, and most used C or Pascal (C plus-plus was young then, and Python not yet born). The major project was red-black search tree implementations.

My code was vastly smaller than that of my peers (but probably not faster), and it was very elegant, but not at all easy to fathom. Others would turn in thousands of lines of code, and mine was rarely more than could be printed on one or two pages. It was an amazing experience. The recursive nature of a lot of data structures lend themselves well to the inherent recursive nature of Lisp and Lisp-like languages. [ mk, I had to spell out C plus plus. Is there a way to not have the plus signs swallowed by the markup? ]





user-inactivated  ·  4337 days ago  ·  link  ·  
This comment has been deleted.
tradotto  ·  4338 days ago  ·  link  ·  

I need to refresh some of my algorithms anyways maybe I will try this.

briandmyers  ·  4338 days ago  ·  link  ·  

I found it a little difficult to go back and forth between Lisp and other languages. Expect a bit of mindfuckery unless you dive in to the Lisp world with both feet. It's hard to describe, but the mindset for Lisp doesn't serve you well for languages that aren't so functional-oriented. Python is sort of between those two worlds.

tradotto  ·  4338 days ago  ·  link  ·  

I'm cool with that.