3 ms·
I've only written a few small programs in Haskell; one was a basic parser. The pattern matching syntax made a lot of things trivial to express that would requi
by drblast 16y ago
I've only written a few small programs in Haskell; one was a basic parser.
The pattern matching syntax made a lot of things trivial to express that would require switch statements or if/else chains in just about any other language, so I loved that. Actually, once I got used to the function definition syntax, I like that too and felt it was very concise.
I like the flexibility that strings are lists (arrays?) of characters, which was incredibly useful for implementing a parser. I'm sure that would come in handy in just about any project.
The type system...eh. I did a bit of fighting with it which apparently is normal for newbies, and I can see the advantage of having it during the compilation stage from a performance perspective. It just didn't grab me by the collar like the other features did.