News for hackers. Stuff that matters.
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by anaphor on Saturday June 15, 2019 @09:22PM (#20193244)
The article says that the instructor for the course cautioned against using Haskell because some people overestimated their competency with it.

I think it is actually very likely that people would chose a programming language or system for reasons other than how competent they are with it. E.g. to seem "smart" because you wrote your compiler in Haskell, even though you actually have much more experience with Java or Python.

FTA:

> Another interesting thing to note is that at the start of every offering of the course the professor says that students can use any language that can run on the school servers, but issues a warning that teams using Haskell have the highest variance in mark of any language, with many teams using Haskell overestimating their ability and crashing and burning then getting a terrible mark, more than any other language, while some Haskell teams do quite well and get perfect like my friends.

Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by galaxyLogic on Saturday June 15, 2019 @10:18PM (#20193455)
> would chose a programming language or system for reasons other than how competent they are with it

Good point these were students so they were eager to learn new things. Can't blame them.

At the same time much of programming is learning new things continually. Some things are harder to learn and master than others. Seems like Haskell might be one such thing, based on what the professor says.

Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by anaphor on Saturday June 15, 2019 @10:30PM (#20193488)
Yeah, I think the problem comes when you try to learn too many new things at once. If you're still learning about compilers, then trying to learn about functional programming on top of that is just asking for trouble.
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by willtim on Sunday June 16, 2019 @03:00AM (#20194218)
Sounds like he (edit: or more accurately, the university) has hasn't taught them enough functional programming and Haskell.
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by epse on Sunday June 16, 2019 @03:20AM (#20194292)
He teaches compilers. Not programming or fp, so definitely not the professors fault
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by willtim on Sunday June 16, 2019 @03:52AM (#20194373)
Yes, but it's still a great pity, as Haskell, a descendent of ML (the "meta-language") is a suberb fit for writing a compiler.
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by anaphor on Sunday June 16, 2019 @02:36PM (#20197119)
It's my understanding that UW offers some undergrad courses in Racket, but apparently they're optional so if you hadn't taken that course you might not know much about functional programming.
Re:Comparing the Same Project in Rust, Haskell, C++, Python,... by 256 on Sunday June 16, 2019 @03:15PM (#20197315)
There is a mandatory compilers-lite course at UW and he teaches the advanced version of it, where the project is to fill in pieces of a Scala-lite compiler written in Scala.