3 ms·
Still, it would be nice to have some examples of pretty functional code for real world applications (like a blog). I've started learning Scheme again recently,
by Tichy 19y ago
Still, it would be nice to have some examples of pretty functional code for real world applications (like a blog).
I've started learning Scheme again recently, and some things are pure bliss, but others are horrible. Maybe I am spoiled by Java, but for some things I really can't imagine how to properly code them without objects. As an example for something ugly, look at the hashtables in MzScheme.
- boredguy8 19y agoSomething like (Implementing a blog in Common Lisp)[http://dirtyhack.org/vetler/docs/cl-webapp-intro/part-1/ http://dirtyhack.org/vetler/docs/cl-webapp-intro/part-1/]?
- binarykeats 19y agoOr this: http://www.scheme.dk/blog/2007/01/introduction-to-web-development-with.html http://www.scheme.dk/blog/2007/01/introduction-to-web-develo...
- binarykeats 19y agoI just noticed that that's where the guy pulled his example from! I also noticed how badly it supports his argument. That definition of the blog-post class also gives you accessors and a constructor, which would be more verbose to define in Java or C++. *Edited for clarity