zlacker

[parent] [thread] 1 comments
1. echelo+(OP)[view] [source] 2025-12-03 17:46:26
Don't forget expressions and block expressions, and all of the Ruby-esque syntax sugar around them. How expressions work with functional methods.

I write a lot of chains with block expressions that almost look 1:1 with Ruby.

replies(1): >>nicobu+47
2. nicobu+47[view] [source] 2025-12-03 18:20:18
>>echelo+(OP)
There's definitely some Ruby influence (closures syntax in particulary), but I think I'd argue that Rust syntax is closer to JavaScript/TypeScript than anything else.
[go to top]