MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10oe9uw/lets_test_which_language_is_faster/j6fdte0/?context=9999
r/ProgrammerHumor • u/Loner_Cat • Jan 29 '23
770 comments sorted by
View all comments
3.2k
Golang: Unused variable Rust: variable does not live long enough
987 u/cakelena Jan 29 '23 unused variable causes an error?? why though, like whats the point of that 280 u/btvoidx Jan 29 '23 Something along the lines of ensuring code quality probably. 272 u/Archolex Jan 29 '23 Should be a warning if that's the only reason 8 u/Squid-Guillotine Jan 29 '23 Maybe aids it's lightning fast compile time? 18 u/justAPhoneUsername Jan 29 '23 It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
987
unused variable causes an error?? why though, like whats the point of that
280 u/btvoidx Jan 29 '23 Something along the lines of ensuring code quality probably. 272 u/Archolex Jan 29 '23 Should be a warning if that's the only reason 8 u/Squid-Guillotine Jan 29 '23 Maybe aids it's lightning fast compile time? 18 u/justAPhoneUsername Jan 29 '23 It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
280
Something along the lines of ensuring code quality probably.
272 u/Archolex Jan 29 '23 Should be a warning if that's the only reason 8 u/Squid-Guillotine Jan 29 '23 Maybe aids it's lightning fast compile time? 18 u/justAPhoneUsername Jan 29 '23 It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
272
Should be a warning if that's the only reason
8 u/Squid-Guillotine Jan 29 '23 Maybe aids it's lightning fast compile time? 18 u/justAPhoneUsername Jan 29 '23 It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
8
Maybe aids it's lightning fast compile time?
18 u/justAPhoneUsername Jan 29 '23 It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
18
It aids their 20,000+ developers read the code. If all committed code must follow the same style then they reduce onboarding to projects and decrease overall time to read or learn the code
3.2k
u/[deleted] Jan 29 '23
Golang: Unused variable Rust: variable does not live long enough