Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-21 Thread Ron Alford
On Fri, Jun 18, 2010 at 10:30 AM, C. McCann c...@uptoisomorphism.net wrote: The better question is when do the benefits of static typing outweigh the costs imposed?. If you're using Java, the answer is probably never, but even in Haskell I don't think the answer is quite always. I have half a

[Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Pete Chown
Evan Laforge wrote: I used to get annoyed about all the java boilerplate and awkwardness. But then I learned that if I relax and stop thinking so much about the aesthetics of what I'm writing, I can just let my fingers go on typing without having to think too much. :-) A good Java IDE will

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Ivan Lazar Miljenovic
Pete Chown 1...@234.cx writes: One thing I'm curious about is Haskell versus Python or Ruby. Code in those languages is, IMO, prone to type related bugs because there is no compile-time checking. On the other hand, I would expect the density' of the code to be similar to Haskell. You can

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Daniel Fischer
On Friday 18 June 2010 12:31:26, Ivan Lazar Miljenovic wrote: Pete Chown 1...@234.cx writes: One thing I'm curious about is Haskell versus Python or Ruby. Code in those languages is, IMO, prone to type related bugs because there is no compile-time checking. On the other hand, I would

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Ivan Lazar Miljenovic
Daniel Fischer daniel.is.fisc...@web.de writes: On Friday 18 June 2010 12:31:26, Ivan Lazar Miljenovic wrote: Pete Chown 1...@234.cx writes: One thing I'm curious about is Haskell versus Python or Ruby. Code in those languages is, IMO, prone to type related bugs because there is no

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread wren ng thornton
Edward Z. Yang wrote: Excerpts from Paul Lotti's message of Thu Jun 17 15:33:30 -0400 2010: Same feelings here. I work in a company that uses C++/Java and the best I could manage was to use Haskell for prototyping and then deliver in Java. This worked out twice so far. The downside is having

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Alberto G. Corona
The fast write-only way: - generate C code with JHC (no haskell runtime) - use a C-to-java converter , for example, c2j (http://www.novosoft-us.com) At least you can laugh at the generated code. anyone tried that? Alberto 2010/6/18 wren ng thornton w...@freegeek.org: Edward Z. Yang wrote:

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Ivan Lazar Miljenovic
Alberto G. Corona agocor...@gmail.com writes: The fast write-only way: - generate C code with JHC (no haskell runtime) - use a C-to-java converter , for example, c2j (http://www.novosoft-us.com) At least you can laugh at the generated code. Laugh? Really? Aren't you more likely to cry

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread C. McCann
On Fri, Jun 18, 2010 at 8:37 AM, Daniel Fischer daniel.is.fisc...@web.de wrote: Haven't you heard?  Enough unit tests give you almost the same security as a good static type system at the expense of more code! Uh, wait, why is that an advantage again? :p Duh, because it's much faster to

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Ivan Lazar Miljenovic
C. McCann c...@uptoisomorphism.net writes: That's... not really fair. A static type system DOES impose limitations, and arguing with the compiler about whether some code is acceptable does take time. Even a handful of simple unit tests will catch the majority of possible errors, and things

[Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread braver
On Jun 18, 10:37 am, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: C. McCann c...@uptoisomorphism.net writes: I've seen a lot of people claim that there are cases where it's easier/better to use dynamic typing than even Haskell-style static typing, but have never been given an example

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Edward Z. Yang
Excerpts from braver's message of Fri Jun 18 12:55:24 -0400 2010: So when your problem is open-ended and the shape of data is in flux, a dynamic language is faster to prototype. I think I can second this comment. However, I would still prefer Haskel for a system intended for production; with

[Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread braver
On Jun 18, 12:59 pm, Edward Z. Yang ezy...@mit.edu wrote: ... I would still prefer Haskel for a system intended for production; with the pain of making sure you've handled all of the possible constructors for the data you're operating on, you also have a pretty good assurance that you haven't

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Bryan O'Sullivan
On Fri, Jun 18, 2010 at 9:59 AM, Edward Z. Yang ezy...@mit.edu wrote: I think I can second this comment. I'm inclined to disagree. It's precisely when the code is in a state of constant upheaval that I want the type system to be pointing out my dumb errors.

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Edward Z. Yang
Excerpts from Bryan O'Sullivan's message of Fri Jun 18 13:16:58 -0400 2010: I'm inclined to disagree. It's precisely when the code is in a state of constant upheaval that I want the type system to be pointing out my dumb errors. In my experience, the type system has forced me to care about

[Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Andy Stewart
Edward Z. Yang ezy...@mit.edu writes: Excerpts from Bryan O'Sullivan's message of Fri Jun 18 13:16:58 -0400 2010: I'm inclined to disagree. It's precisely when the code is in a state of constant upheaval that I want the type system to be pointing out my dumb errors. In my experience, the

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread aditya siram
I've written code with less bugs in Haskell than any other language I've used. And that's a credit to GHC and not because I'm a great programmer. But I still don't know how to deal with the situation where you don't have a clear picture of your data or heterogenous data that you are wrapping up

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Liam O'Connor
One way to avoid explicit, per-type unmarshalling is to use the existentialquantification extension to make a box type that you can store in a map, thus producing a heterogenous map of any types (with constraints). Cheers. ~Liam On 19 June 2010 04:08, aditya siram aditya.si...@gmail.com wrote:

[Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread braver
If you're willing to use Haskell as a synonym for FP of sorts, you can now get cool jobs writing Scala -- e.g. Sony uses it to manage all of their disk farms; Clojure is awesome, although very different (dynamic and macro); and Jane Street is always hiring in New York, London and Tokyo doing

[Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread braver
Another way to be happy is to get a family to support, then any idea of making a quick pfennig with C# and then luxuriating in Rio with a laptop full of Haskell will only work if your company goes public! :) -- Alexy ___ Haskell-Cafe mailing list

[Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread Paul Lotti
Günther Schmidt gue.schmidt at web.de writes: So how does one get off haskell? Are there people in similar situations that have managed? How did you do it? Günther Same feelings here. I work in a company that uses C++/Java and the best I could manage was to use Haskell for

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread Edward Z. Yang
Excerpts from Paul Lotti's message of Thu Jun 17 15:33:30 -0400 2010: Same feelings here. I work in a company that uses C++/Java and the best I could manage was to use Haskell for prototyping and then deliver in Java. This worked out twice so far. The downside is having to translate it

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread Evan Laforge
So how does one get off haskell? Are there people in similar situations that have managed? How did you do it? I used to get annoyed about all the java boilerplate and awkwardness. But then I learned that if I relax and stop thinking so much about the aesthetics of what I'm writing, I can just

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread Christopher Done
At CREATE-NET we're hiring Haskellers. If you fancy working in Trento (Italy) and you have experience, apply here. Try these trivial questions http://hpaste.org/fastcgi/hpaste.fcgi/view?id=26317 The question list doesn't indicate expertise but it does filter out newbies. Don't bother if you