LispCast Episode 3
October 27th, 2007
Episode 3 is ready! If you want to see code being refactored, check out this episode.
In this episode, using the acceptance tests we developed last time, I refactor the code to make it easier to read, maintain, and modify.
Video and source code are available.
[Edit: a larger version of the video is available now]
Next episode: adding database persistence.
I’d love your comments!
software used in this episode
Related Posts
Popularity: 3% [?]
Filed under LispCast |14 Responses to “LispCast Episode 3”
Leave a Reply

Nice demonstration! Thanks for the sharing and looking forwards to the next episode and the database persistence.
Ouch, the compression artifacts are really hurtful in this one. If possible, I really wouldn’t mind extra 50MB to the file size if that meant not having your eyes bleed whilst watching.
Btw, which parens editing package are you using?
Thanks! looking forward to the next episode.
/Mats
Hey everybody!
Thanks for the encouragement. I’ve added a larger video for those that didn’t like the compression artifacts. I’m trying to find a happy medium between size and quality. It’s hard with text.
And to answer your question, I’m using paredit.el http://mumble.net/~campbell/emacs/paredit.el
Thanks
great! please continue. - okflo
Excellent work. Looking forward to the next episode.
great work! nice video tutorials on lisp web app developement. looking forward to the next episode
Nice. I’m quite new to lisp, and these videos are a great way to see what’s possible.
I’ve always hated the “*-unit” style of defining tests, though
It just seems too verbose without giving a “natural language” feel to the code. RSpec (the Ruby extension) looks much nicer and should be easy to port to lisp (if it hasn’t already) - http://rspec.rubyforge.org/
Anyway, I also have a question: what emacs command/library do you use to do that funky s-l-f-n -> some-long-function-name expansion? I’ve googled a bit but I can’t seem to find it.
That’s just slime smart auto-completion. I think it’s enabled by default in slime-mode.
Ah right. Thanks. Looks like for some reason debian’s slime package isn’t/can’t be configured to have slime-complete-symbol work like that on my system. I installed the CVS version of slime and that seems to work better.
These are really great!!! I look forward to episode 4!
[…] Only a few functions need to be changed since we refactored it in the last episode. […]
Well, that’s cool! Still - incpoints/decpoints could be refactored into single one.
This is my favourite video of the 3 I’ve seen so far
I found myself impressed with how fluid lisp makes refactoring. I think this is going to be my “home” language for a while, and I need to pimp my emacs/stop being lazy and get as efficient as you at editing lisp.
Keep up the good work, will move onto episode 4 soon