News for hackers. Stuff that matters.
Re:The Cult of the Haskell Programmer by eru on Tuesday May 14, 2024 @06:58PM (#40361109)
You don't need the $ anymore with `BlockArguments`.

But overall, Haskell isn't really any worse here than Rust's for-each; or even C's weird for-loop (where you just have to rote learn what the three parts in the header of the loop do). I agree it's worse than Python's or Rust's vanilla for-loop.

I mostly like Python's syntax, I just wish they would make their would declare their indentation syntax to be sugar for a curly brace syntax (like Haskell does), and their would make their statements and blocks give values, like Haskell and Rust do.

(Of course, I have some other things I don't like in Python. But her syntax is by-and-large fine.)

There are no comments on this comment yet.