How we secretly introduced Haskell and got away with it
141–150 of 188 posts
Re: How we secretly introduced Haskell and got away with it
#142Earlier quoted context omitted.
Cabal made me never use Haskell every again. I work in two different locations and at home. All three locations never worked the same and all had different issues with Cabal. After hours and hours of trying different things I walked away into the wonderland of Racket.
They're working really hard on improving it though . Cabal 2.0 will have a nix-style build system, in which multiple verions of the same dependency can be installed globally (so no separate sandbox per project). This will solve most problems of where cabal breaks down. This gives us almost the same usefulness as Stack. However, you will have to make sure that there is actually a feasible build plan, by setting up you…
Re: How we secretly introduced Haskell and got away with it
#143Why did you choose to write your own, regardless of the language?
Re: How we secretly introduced Haskell and got away with it
#144> but if we could get it done, there would be no going back The naïveté in this simple statement is so cute. The list of concerns is also pretty naïve. The main problem you are going to encounter with this project is hiring. If you want to grow this project or if the main developers leave the company, I bet it will get rewritten in a different language in no time.
I also encourage you to find _any_ experience report that tells of difficulties finding the right candidates for a Haskell job.
Re: How we secretly introduced Haskell and got away with it
#145Nice article. Out of curiosity, what does your write with? Vim/ghc-mod? Emacs/Intero? IntelliJ IDEA/plugins? Atom/VSCode etc.?
I tried spacemacs once but I found it too magic. I decided I should learn proper emacs instead of running a random playbox of plugins ontop of plugin. But haven't had the time to properly learn emacs yet. I have tried various haskell plugins for vim in the past, but they always tended to break so I gave up fixing my config and threw them all away. Now it's just plain vim (with some non-haskell related plugins) Next t…
Re: How we secretly introduced Haskell and got away with it
#146Good luck with hiring!
Re: How we secretly introduced Haskell and got away with it
#147It looks like jobmachine is a private repo, maybe don't include the url in your blog post :)
If the URL to a private repo is not secure, then a whole bunch of people (including GitHub) have a big problem, and exposing jobmachine is the least of their worries ;-)
Re: How we secretly introduced Haskell and got away with it
#148I'm just starting with Haskell and PureScript. So far I'm liking the latter better. It solves a few of their gripes with respect to strings, laziness and records, plus has a more granular/extendable effects system and cleans up the standard typeclass hierarchy. Also `head []` doesn't crash. Of course Haskell is more mature, has support for multithreading and STM, compiles to native, so it's more performant. But PureS…
I can't imagine using a haskell-like language without laziness. It's what makes it possible to actually write small reusable functions. Tell me, have you ever used foldr in Purescript? It just doesn't lead to reusable logic there, so I have no idea why you would. But in Haskell, foldr is used everywhere. Laziness means that logic built with it is actually reusable.
Re: How we secretly introduced Haskell and got away with it
#149In the 1990s I did research on the efficacy claims of object oriented programming versus procedural programming. This article bares a striking resemblance in the claims. Case study after case study showed that object oriented code had less bugs due to compilers catching bugs, etc. However, almost every study was similar to this report: it was a re-write from procedural to object-oriented. There exists strong evidence…
I remember just three things about the book "Show Stopper!: The Breakneck Race to Create Windows NT and the Next Generation at Microsoft" (1994): the death march, that they tested the OS by writing a file over and over (!) and that they thought the graphic part written in the new object-oriented C++ would save them a lot of time (it didn't)
Re: How we secretly introduced Haskell and got away with it
#150Earlier quoted context omitted.
That's all well and good except for the fact that your standards are impossible to reach. Even if I do write the exact same project with two different languages, there will always be differences in either the skill of the teams or, if the teams are the same, the amount of experience the team has when they tackle the project. What we can do is compare similar types of projects in different languages. And the things we…
> That's all well and good except for the fact that your standards are impossible to reach. Right, yes. Perhaps this entire exercise is a complete waste of time. Perhaps we should be investing in skilled people who understand their problem domain and then just trust them to do the best they can, rather than trying to find silver bullets inside programming languages.