|
|
|
|
|
by lmilcin
1868 days ago
|
|
> Honestly, I think LoC-shaming originated in languages like Java and Python, where more lines of code almost guaranteed more complexity. Rust's focus on zero cost abstraction ultimately means that even massive programs can run with minimal overhead. Zero-cost abstractions are meant to be zero physical cost, not zero mental cost. LoC still translate to mental overhead and "LoC shaming" is appropriate for any language, not just verbose like Java or Python. |
|
Chandler Carruth “There Are No Zero-cost Abstractions”
You can watch and see what they really are. I bet this is true for Rust as-well.