3 ms·
I still cannot forgive Rust for not learning anything from Ada. "Code is read more often than it is written". Reading Ada is so unambigous, and clear. If you m
by antocv 7y ago
I still cannot forgive Rust for not learning anything from Ada.
"Code is read more often than it is written". Reading Ada is so unambigous, and clear. If you mean if then, you have the keyword then, when you want to say procedure you say procedure and you can read that. Rust? fn, because is it fun, or functor, so fuck you.
- Ono-Sendai 7y agoDo you really want to type out 'procedure' thousands of times?
- olzd 7y agoYou type 'proc' and let the editor autocomplete that for you: this is a long solved issue.
- antocv 7y agoYes of course, even if my IDE doesnt autocomplete anyway. Code is read much more often than it is written. Yes, I do want to read out what I type and possible speak it to collegues without sounding like I have a fn seizure.
- OneWingedShark 7y agoYes. Because the alternative is idiotic, hard to read BS like fn. The problem is that "fn" is optimizing the WRONG things: not only is your code going to be read more than it is ever written, but this abbreviated form is actively hostile towards domain-level subject-matter experts that you may want to audit or verify your code. Now, instead of him jumping into code that reads like English (Ada), now he has to 'decode' Rust BEFORE AND DURING his evaluation of the code, distracting him from his purpose.
- jhomedall 7y agoYou learn what 'fn' means once, and then you know it forever. It's a non-issue.
- antocv 7y agoIt is an issue, forever evern after learning fn means function. Cd is rd m thn it is wrtn, it is esr to rd function thn to prse fn rclnt function and cont rdn.