4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
I can assure you our software is not at all simple. Standard Chartered has industry leading portfolio compression and XVA compute. Barclays has industry leading pricing of exotic derivatives (including pricing on GPUs). Both industry leading solutions built in Haskell on top of frameworks/APIs in Haskell.
> No one is interested in type-safety or purity for their own sake (except for aesthetic reasons).
So are all forms of static verification just aesthetics to you? Or just those offered in Haskell?
> I'm interested in better, cheaper software.
Then hire good people and let them use the tools they want.
The only evidence I could ever hope to offer is that good people build good software. But that would never make an interesting management report.
comment 10y ago · link · parent
"I would like to challenge that by pointing out that not a single piece of large software ... has ever been written using the skills/concepts of the higher levels of this chart."
To which I gave two counterexamples (today and on other occasions). All software systems should be modular to some degree, so I am not clear exactly what your criteria for a large software system is. In both my examples, the Haskell codebases are monolithic repositories where everything is typed-checked and built together.
You keep asking for quantitative data for a comparison with other languages. But my answer is the same as last week. It's good people that make software efficiently and cheaply. Give engineers PHP and they'll still manage to build something good. Haskell is just a tool, but it's a tool that increasingly good people are asking to use. The system at Barclays and Standard Chartered were built and are currently maintained very cheaply because good people were hired. Haskell just happened to be their preferred tool.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
This is Anti-intellectualism.
FP is often a sliding scale. You can program with as much or as little type safety, purity or totality as you want. Some folks like to push the boundaries of what is possible without shortcuts, taking inspiration from recent research. Many Haskell, OCaml, Scala and F# libraries will require some of the concepts in this list to understand. I do agree that the list is somewhat Haskell centric though.
comment 10y ago · link · parent
To avoid confusion, they should have used the term "pure functional programming" or even "typed pure functional programming".
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Productivity for whom? And over what timescales? As I have been trying to say, it is not that simple, you are oversimplifying.
> So what is the claim, and is there actual evidence (even anecdotal) to support it?
It sounds like you are completely satisfied with existing approaches, in which case there is little point in me trying to convince you.
> The industry is extremely interested in anything that can significantly reduce the cost of developing software.
Industry as a whole, does not have a good track record of adopting even good ideas in a timely manner. c.f. Garbage collection. So again, I think you are oversimplifying.
comment 10y ago · link · parent
While I could probably stomach giving up purity in a small project, you'd only be able to take away sum types and pattern matching from my cold dead hands.
comment 10y ago · link · parent
Uncontrolled side-effects destroy the ability to reason about software and when one can no longer reason effectively, bugs will happen. This is obvious to anyone who has worked on large systems. Whether it matters or not, depends on the domain. In finance, it is absolutely critical that we can reproduce a calculation and that for example, the current date is not read from the system deep inside the code somewhere. Having the compiler guarantee this for us is a huge win.
> Absolutely, and you can get automatic memory management for a fraction of the cost. > You get static types for a fraction of the cost, too.
What do you actually know about the cost of Haskell adoption? If you want to accuse me of making unsubstantiated claims, your position would be more tenable without making them yourself!
comment 10y ago · link · parent
How carefully researched was your very public assessment of what happened at CS?
> Do we all need to try Elixir, Kotlin, Clojure, Scala, Haskell, F#, and Go?
Of course not. Those interested in learning more about pure functional programming should try Haskell, the others have different niches they are trying to fill.
> If Haskell had had a huge advantage, it wouldn't have been abandoned
No one is claiming Haskell is some sort of magic bullet for all use cases. If you require ease-of-use, are writing disposable software, or high performance software, then it may not be the best choice.
Nobody is arguing against further studies, but I suspect that most of our industry isn't really interested. As I have said elsewhere, Haskell does not optimise for ease-of-use or aesthetics. It has a growing niche and will continue to be successful in that niche, with or without further productivity studies.
comment 10y ago · link · parent
We can certainly say that uncontrolled side-effects, manual memory-management and dynamic types is bad for software development in the large.
I'll stop here because I don't which to argue the semantics of what does are does not constitute significant use or significant research.
comment 10y ago · link · parent
> The same can be said about nearly every language.
This clearly isn't true. For example many languages optimise for ease of use, shallow learning curve, programming in the small etc. Some optimise for efficiency and runtime determinism. Features like type-systems are great for software development (programming in the large), but do negatively impact ease-of-use.
> Haskell is first and foremost a research language motivated by answering a research questions
This isn't true. The Haskell committee contains many people from industry. Haskell just happens to have come from academia and is still heavily used in academia.
> Saying that I'm not persuaded by virtually zero information is no knocking anything
That's a huge exaggeration to suggest there is zero information. There are many experience reports published all the time at conferences and in academic journals, going back decades. None however will give you the quantitative metrics you seem to be asking for, because it is almost impossible to do such a comparison.
comment 10y ago · link · parent
Not true. If enough FUD is spread about Haskell, for example it being a failure at CS, then it becomes difficult to convince management.
> If I don't have information, choosing Haskell would be far less rational than not choosing it
No one is suggesting choices be made blindly. Managers should hire good people and then delegate those decisions to those people. If they want to use Haskell, don't stop them due to lack of case studies.
> For the sake of argument, suppose Haskell has a 5% improvement in maintenance cost over Python but a 10% higher cost of adoption, then it's not worth it.
I don't subscribe to nineteenth-century management science. My point was that software development is more about people than technologies. You will never be able to compare Haskell and Python like that, without comparing the people behind the code. What we can say for sure, is that many good developers are asking to develop in Haskell. The best way for other developers to understand why, is to try it.
> That's great, but doesn't have much to do with Haskell.
You were implying that Haskell had failed somehow because SC had stopped using it. Decisions within large organisations are rarely made on purely technical grounds. I can assure you there are many Haskell advocates still there.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
I never claimed "orders of magnitude" productivity from a language alone. Haskell has every weakly-typed mainstream imperative language as a valid subset. You need good people, teams and processes to get the best out of the language. This means it is difficult to do case studies without getting dismissed as anecdotal.
Most other banks have settled on Python for similar use cases. I hear on the grapevine that they have significant maintenance problems (unsurprisingly). Haskell is spreading to larger software in the bank and we are currently hiring.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent