3 ms·
This is an interesting paper, and I'd like a replication today, 25y after: I believe Haskell has matured a lot in all of this time. As an experiment, some mont
by ff_ 8y ago
This is an interesting paper, and I'd like a replication today, 25y after: I believe Haskell has matured a lot in all of this time.
As an experiment, some months ago we prototyped a new service in Haskell at work. We timeboxed a week for it (two people, proficient in Haskell), and the result is that (1) the Product Owners were really pleased with it, and (2) even if it was really bad Haskell code, we _still_ managed to encode business logic in the types so that it would always hold some important invariants. As a result we had to fix a surprisingly small amount of things before putting it in production.
The best thing is that as it happens we couldn't properly rewrite the prototype, so today's service is still the same codebase, BUT it's not a Python blob and it was such a breeze to refactor.
EDIT: would anyone be interested in a blog post "Rapid Prototyping in Haskell"?
- smu 8y agoYes, I would be very interested!
- WMCRUN 8y agoSame
- deckiedan 8y ago"Rapid Prototyping in Haskell" would be fantastic.
- f0rgot 8y agoYes please!
- zephyrfalcon 8y agoWhat is a "Python blob"?
- sevensor 8y agoAs someone who writes a lot of Python, I'd say a Python blob is a half-formed idea expressed in Python without any particular thought given to design or conceptual clarity. Just enough to get the job done if you don't encounter any surprises, but not something you'd want to maintain. You expect it not to handle all of the edge cases and when it raises an exception you jump in and code around it at the point where it's raised, rather than fixing the root cause, which is lack of design. Unfortunately, a lot of Python starts out like this and then ends up being maintained anyway. edit: What makes it blobbly is its lack of structure. It doesn't express any clear idea of the domain and tends to devolve into spaghetti.
- z3phyr 8y ago> would anyone be interested in a blog post "Rapid Prototyping in Haskell"? Yes. Please.
- ncmncm 8y agoC++, also, is an entirely different, and overwhelmingly more powerful, language, than in 1994.
- jose_zap 8y agoI would!