Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
NotCamelCase
on March 28, 2020
|
parent
|
context
|
favorite
| on:
What If C++ Abandoned Backward Compatibility?
Rust doesn't have function/operator overloading
yet
or it won't have it at all? I am vastly for clarity and simplicity over vague, implicit stuff but doing e.g vector operations can get very unreadable very quickly without it.
pjmlp
on March 28, 2020
|
next
[–]
Rust has operator overloading,
https://doc.rust-lang.org/rust-by-example/trait/ops.html
SaxonRobber
on March 28, 2020
|
prev
[–]
Vector operations are one of the few cases where I think operator overloading is sometimes a good idea.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: