Friday, October 5, 2012

Combining functional and imperative programming

Here's a nice post about a study!  Turns out functional programming isn't actually easier to use - in fact, this study showed that Scala's rigid type system made debugging harder.  The theory, of course, is that rigid typing should make debugging less necessary because many logical errors won't even compile.

The Scala programs were also smaller, but not by a whole lot.

The title, though, is misleading.  If I understand correctly, this isn't combining approaches so much as comparing them.  Decl should combine them.  Is there an Inline::Haskell?  (Answer: no. But there are some sorta-kinda things that look real Haskelly.)

No comments:

Post a Comment