Live data from Hacker News

An Intro to Haskell for Ruby Developers

free-variable.org

11–14 of 14 posts

Re: An Intro to Haskell for Ruby Developers

#11
post #7

Earlier quoted context omitted.

I got several paragraphs in and thought, where exactly is the Ruby? Further to that, having inline code (without any monospace formatting), and talking about binary trees as an intro to Haskell, well, I would suspect that it alienates the people it tries to introduce. I'll own up to my ignorance, of course. I've no CS degree, I've encountered no occasion where I'd implement CS classics like linked lists and binary tr…

It's possible that you don't roll your own custom trees and other data types because your language of choice doesn't make using your own data structures easy.

Perhaps, but demonstrating a custom binary tree implementation in Haskell is not the right way to lure blub programmers.

Show them how Haskell makes it easier to solve the problems they face in their day-to-day work and you might start to make some converts.

Re: An Intro to Haskell for Ruby Developers

#12

Sorry about this comment, but I don't think you achieved what you wanted with this article. It's a bit rambling and unfocused, and you don't really ever talk to your audience in language they will understand without a prior background in functional programming. Case in point: there's plenty of Haskell, but the first Ruby is 3/4 of the way down. It would be more effective if you took one or two concepts in Haskell and…

The typography also drives me insane. Add some margin between headings and text, reduce kerning, get rid of p::first-letter { font-size: 200%; }

Apparently the theme was designed by these guys: http://www.tomsskylinedesign.com

I think the style on that page speaks for itself.

Re: An Intro to Haskell for Ruby Developers

#14
post #7

Earlier quoted context omitted.

I got several paragraphs in and thought, where exactly is the Ruby? Further to that, having inline code (without any monospace formatting), and talking about binary trees as an intro to Haskell, well, I would suspect that it alienates the people it tries to introduce. I'll own up to my ignorance, of course. I've no CS degree, I've encountered no occasion where I'd implement CS classics like linked lists and binary tr…

It's possible that you don't roll your own custom trees and other data types because your language of choice doesn't make using your own data structures easy.

My languages of choice do make creating custom data structures at least as easy as Haskell, and I still rarely do it.

In most cases I've found it's faster in implementation time, testing time, and running time to just use built in data structures when possible. Even in Haskell.

Post reply on HN