Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
echelon
5 days ago
|
parent
|
context
|
favorite
| on:
A Look at Rust from 2012
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.
nicoburns
5 days ago
[–]
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.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I write a lot of chains with block expressions that almost look 1:1 with Ruby.