4 ms·
If Haskell is good for webpages then I may give it a try, if not I´ll pass. If it is, please somebody show us how to spit html and from there we´ll pick it up.
by TweedHeads 18y ago
If Haskell is good for webpages then I may give it a try, if not I´ll pass.
If it is, please somebody show us how to spit html and from there we´ll pick it up. No better-than-sex monads, no intergalactic scripting services, no functional masturbation.
I really want to know if it is going to save me time and resources for my next startup, nothing else.
- jrockway 18y agoI really want to know if it is going to save me time and resources for my next startup, nothing else. You should probably learn to program before starting a software company. If it is, please somebody show us how to spit html and from there we´ll pick it up. No better-than-sex monads, no intergalactic scripting services, no functional masturbation. Anyway, to print HTML in Haskell, try this: putStrLn "<html><head><title>Hello, world</title></head><body>Hello, world!</body></html>" Amazing, although I'm not sure what you gain by doing this. (As an aside, I prefer HXT to generate XHTML programatically. It doesn't involve "better-than-sex monads", either, although it does involve Arrows.) I wish I could resist the urge to reply to trolls, but apparently I can't.
- jerf 18y agoI've spent some time with Haskell and I like it well enough, but: In all seriousness, if you don't already know Haskell, I would not recommend using it in a web startup. That's not a time to be learning Haskell. Go with something you know, or, failing that, one of the Python frameworks.
- gord 18y agoHmm.. in my case, part of the fun of learning Scheme was that it had an excellent article on how to generate html web pages... and the syntax was nice [like arc and ruby]. Same for arc, but its newer so lacks the many pre-configured libraries. Haskell is a nice language, its just a matter of time until someone writes a web tutorial like that, than a web framework etc etc. But Haskell might be a bit more of a mathematically pure / sophisticated language.. you'd need to commit to some study I think to master it - whereas with ruby [or python] you can sort of hack in a php style, and learn nicer things later on. Ive seen good blog discussions that 'Ruby is a good enough lisp' and it sort of is to a first order. So don't sweat it, just use ruby or python or scheme.. or Haskell if it resonates with you. They're all so much more enjoyable than Java or C++ :]