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

Popularity: 4% [?]


14 Responses to “LispCast Episode 3”

  1. Brian Jiang on October 28, 2007 5:56 am

    Nice demonstration! Thanks for the sharing and looking forwards to the next episode and the database persistence.

  2. mathrick on October 28, 2007 6:40 am

    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?

  3. Mats on October 29, 2007 6:32 am

    Thanks! looking forward to the next episode.

    /Mats

  4. admin on October 29, 2007 8:19 am

    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

  5. okflo on October 29, 2007 1:27 pm

    great! please continue. - okflo

  6. filippos on October 29, 2007 2:24 pm

    Excellent work. Looking forward to the next episode.

  7. harsha on October 29, 2007 4:39 pm

    great work! nice video tutorials on lisp web app developement. looking forward to the next episode

  8. Joost Diepenmaat on October 29, 2007 7:18 pm

    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.

  9. admin on October 29, 2007 11:34 pm

    That’s just slime smart auto-completion. I think it’s enabled by default in slime-mode.

  10. Joost Diepenmaat on October 30, 2007 3:34 am

    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.

  11. D. Sears on October 30, 2007 6:23 am

    These are really great!!! I look forward to episode 4!

  12. LispCast Episode 4 | LispCast on November 10, 2007 8:04 pm

    […] Only a few functions need to be changed since we refactored it in the last episode. […]

  13. Victor on January 5, 2008 10:45 pm

    Well, that’s cool! Still - incpoints/decpoints could be refactored into single one.

  14. Oliver Charles on February 11, 2008 6:58 pm

    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 :)

Trackback URI | Comments RSS

Leave a Reply

Name (required)

Email (required)

Website

Speak your mind