Y
Hacker News
new
|
ask
|
show
|
jobs
by
Thaxll
2537 days ago
Rust is not a pleasant language to read tbh:
https://github.com/SergioBenitez/Rocket/blob/v0.4/core/http/...
Clean C++ 14/17 is less cluttered.
1 comments
vinay_ys
2537 days ago
That file looks quite readable (ignoring the comments - which again looks very readable in color syntax highlighted documentation).
link
kbenson
2537 days ago
I think it's the numerous single character lifetime annotations that they are referring to. I agree that this particular bit of code is somewhat hard to parse (as a rust amateur), but that might be alleviated quite a bit with some less terse naming.
link