Misc items

A couple of items I came across, that might be of some interest.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Excuse me...

I think defmacro is a nice blog, but it is sensational journalism at its best: Since when a simple filtering operation using map is an exclusive advantage of Haskell? lots of other languages can do the same trick (i.e. filtering of a collection) using lambda functions in roughly the same lines of code (give or take a few).

Sincere Comment on FP

Speaking of which, I'd like to see what you have to say about my comment on your warp 9.99 blog entry.

Re: Sincere Comment on FP

And for those following along at home: Achilleas' blog post

Thanks for the link, a very

Thanks for the link, a very nice blog post.

Interesting...

I'd say that overall, I almost agree with the blog post... only because my C++ code is just a semi-compiled form of Haskell. I use ubiqutous referential transparency (lots of const) and often compiler-specific annotations to mark up intent (that a better type system would allow, with much more intuitive and precise semantic meaning). I tend to be very abstract data orientated -- in the sense that I tend to reify anything that needs processing. Side-effects are compartmentalised as much as possible. State, if it's ever used, is local (on the stack, as loop counters, etc.)

So yes. Most of the advantages of FP can be felt outside of an FP language. But why hurt yourself (unless someone is paying you to do it... and paying well) when you might as well just use the real thing? Maybe it really isn't much more than syntax (and some clever preprocessor macros), but damn it, I want to enjoy my life and my work -- and I wanna look pretty!

Incidentally, I "learnt" ML after getting to grips with Haskell. The comments from people who point out the elegance and syntactic beauty in ML always makes me giggle.

I have never seen anyone

I have never seen anyone point out the syntactic beauty in ML.

A historic first!

I've admired the syntactic beauty of the ML code in Implementing sets efficiently in a functional language. That paper describes how to write a balanced-tree data structure very clearly. I used it as the basis for my cord data structure in Ermacs. (I still fire up Ermacs occasionally on files that are too big for Emacs to handle.)

Nice

That Haskell post was the ideal accompaniment to my morning coffee. Would that I could start every day with some light exposure to unusual-for-me code.

Remote programming is common in the SLIME world too.