I’ve been doing so much #Rust lately, thanks to #adventofcode, that someone posted their #Haskell AOC solution and my first thought was “Is this Python?” 💀

Follow

@haskman Haskell is basically Python done (almost) right. Some more things to iron out, but it's a nice imperative language for real-world prototyping 😅

@dpwiz @haskman Something it shares with Python is some odd surprises about scope. I mean, the way it treats scope is generally much better but those gotchas are there.

@tisbruce @haskman Huh? What about scopes?

Never gave them a thought. Those are just closures that capture all the variables used, no?

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.