logoalt Hacker News

2ndorderthoughttoday at 12:05 PM1 replyview on HN

I think this comment weasels around the intent of the poster without acknowledging their meaning.

Go and rust have very little in common. If you consider them to be the same paradigm that's fine. But I don't think most people would as rust leans more functional.


Replies

hnlmorgtoday at 12:11 PM

“Leaning into functional” isn’t a hard thing to learn. However pure functional is when coming from an imperative language.

And that’s the point I was always making. Rust takes inspiration from different languages than Go. But there is a huge amount of borrowed experience you can lean on when switching between Go and Rust. You’re not starting from scratch.

Perhaps the real problem here is that developers stick to a subset of similar imperative languages and then moan that minor differences are hard to reason about?

show 1 reply