Live data from Hacker News

Dijkstra on Haskell and Java (2001)

chrisdone.com

121–124 of 124 posts

Re: Dijkstra on Haskell and Java (2001)

#121

Earlier quoted context omitted.

That day will come, for many of us, when a large AAA game, web browser, or usable OS is written in a FP language. And I realise that is an unfair target, but there is very little user facing FP software. The only one I can think of I have used is xmonad, which is both hard to use and fairly buggy

Since I use Xmonad as my window manager, I'm rather invested in you elaborating on Xmonad being "fairly buggy". Should I worry about my data?

I found that several applications would cause it to go crazy (lock up), including many Java applications and open office. Further, if you started adding many extensions, they would cause crashes (I'm sure it's because they were badly written, but I thought the whole point of haskell was no crashes).

So, if you find nowadays Java apps and openoffice work fine (or, you don't use them), and you are careful about which extensions you add, then you will probably be fine.

Re: Dijkstra on Haskell and Java (2001)

#122

Earlier quoted context omitted.

Since I use Xmonad as my window manager, I'm rather invested in you elaborating on Xmonad being "fairly buggy". Should I worry about my data?

I found that several applications would cause it to go crazy (lock up), including many Java applications and open office. Further, if you started adding many extensions, they would cause crashes (I'm sure it's because they were badly written, but I thought the whole point of haskell was no crashes). So, if you find nowadays Java apps and openoffice work fine (or, you don't use them), and you are careful about which e…

Oh! I know what you are talking about and remember the issue. You had/have to add `setWMName "LG3D"' to the configuration since versions older than Java 7 don't include Xmonad on their hardcoded list of suppported window managers. Correct me if I'm wrong, but it doesn't seem like that one was Xmonad's fault.

Interesting, to be honest I don't really use any extensions. I do use Java apps and openoffice these days and they work fine.

Thanks for your response! I'll have to try adding some extensions and see what happens.

Re: Dijkstra on Haskell and Java (2001)

#123

Earlier quoted context omitted.

"The pursuit of knowledge shouldn't be dampened by silly things like getting a job." Here's how I just read this: "The pursuit of what makes me look good shouldn't be dampened by silly things like serving people other than myself". And than just to dampen that statement, you added "Haskell made me a better programmer", which clearly implies you got a job, serving the needs of others. Would it be fair to say you are m…

I'm not the person you're addressing, but - yes, you're wrong. (And an asshole to boot, but that's another issue.) "Getting a job" has absolutely nothing to do with "serving others," except maybe in the slavery sense of "serving," depending on your politics. The point is that universities are supposed to be dedicated to knowledge and understanding for their own sakes. It's not about "looking good," and I have absolut…

You clearly have no idea what I'm talking about. Thanks for the compliments.

Re: Dijkstra on Haskell and Java (2001)

#124

Earlier quoted context omitted.

I wish I was there. My curriculum at Carleton University is 1. Intro to CS in Python ending with a taste of Java 2. Java 3. C (intro to UNIX) 4. C++ (design first, implement after, waterfall, etc.) Along with 3 there is data structures taught in Java [0] and with 4 there is web dev taught in Node.js. 0: Following this text: http://opendatastructures.org/ Taught by its author, Dr. Pat Morin.

Actually, the first class is now Java and C++. Morin isn't teaching Python any more. "Functional" programming is taught in third year (COMP 3007), but you don't get too deep into it. My issue with the listed classes isn't the chosen languages. A commenter mentioned that you can learn a lot of functional (and other) concepts in a procedural or object oriented language. My issue is that I basically learned the same con…

Aha. Do you have an outline of a better way?
Post reply on HN