Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ebingdom
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
ebingdom
5y ago
Yes, but they are opt in, right?
122.
▲
by
ebingdom
5y ago
I'm pretty confident Simon Peyton-Jones would never find it acceptable that adding a new type class instance changes the behavior of existing code, regardless of what convenience it brings. Yes, the dot operator is useful (as SPJ ackno
123.
▲
by
ebingdom
5y ago
I think you have it reversed. `expr.expr` would need to become `(*expr).expr` if we didn't have auto-dereferencing.
124.
▲
by
ebingdom
5y ago
I love Rust, but one thing that seems like a glaring design flaw is that adding a new trait implementation can change the behavior of existing code. This is very counterintuitive, because it seems like a purely additive change. In my opinio