Re:Reflections on Using Haskell for My Startup
by dunefox on Friday February 19, 2021 @10:42AM
(#26194297)
If you don't know the language and tools it definitely takes quite some time to setup Java, Maven, etc. All the issues with class paths, manifests, and so on, that are just completely alien and opaque coming from any other language make the experience very frustrating.
[ Parent
| on HN ]
Re:Reflections on Using Haskell for My Startup
by agentultra on Friday February 19, 2021 @11:33AM
(#26194838)
This. I think a lot of people who use mainstream languages forget what it's like starting from scratch in those languages. Getting a projects setup in Java, C++, C, Rust, etc are all quite difficult.
Getting a web application started in Ruby is easy because it does so much for you out of the box.
There are frameworks that make similar choices for you in Haskell as well: IHP, Yesod, etc.
I think taking two weeks to "set up" a Haskell project is a bit long but I read it as the author taking two weeks to learn enough Haskell to make two rather advanced libraries work together... which means they had to make all the little micro decisions that frameworks make for you, etc. With more experience that could've been done in less time.
If they had started with IHP I think it would've been your usual day or two.
Re:Reflections on Using Haskell for My Startup
by IggleSniggle on Friday February 19, 2021 @12:07PM
(#26195208)
Thanks for mentioning IHP. I've only read its landing page, but if what is has to say about itself is all true and from what is apparent looking at code samples, it definitely deserves to be on folks' radar!
It's enough to make Haskell really seem like a reasonable choice to "jump in with" without fear of never reaching some mundane goal.
Re:Reflections on Using Haskell for My Startup
by ssijak on Friday February 19, 2021 @01:47PM
(#26196437)
Starting a very good starter project in Java/Kotlin is literally next->next->next while selecting what you want (frameworks, maven/gradle, jvm version, etc) in IntelliJ. And if you do not use IntelliJ you can use https://start.spring.io/ or other starter projects.
Re:Reflections on Using Haskell for My Startup
by ghostwriter on Friday February 19, 2021 @04:29PM
(#26198262)
Starting a Haskell project with IntelliJ Idea is the same next->next->next [1]