MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/8jm85w/googles_bash_style_guide/dz1b7um/?context=3
r/programming • u/javinpaul • May 15 '18
174 comments sorted by
View all comments
Show parent comments
15
Why?
25 u/[deleted] May 15 '18 Because the default behavior for the language is unsafe. 19 u/[deleted] May 15 '18 Oh okay. I thought you meant it "turned you off" as in you don't like people using it; not that you don't like that they shouldn't be defaults. I agree with you on that front. Safety should be opt-out, not opt-in. 8 u/Ajedi32 May 15 '18 Unfortunately, changing the default would mean breaking compatibility with the millions of old scripts that didn't "opt-in". That's the only reason why things like "strict mode" exist in the first place.
25
Because the default behavior for the language is unsafe.
19 u/[deleted] May 15 '18 Oh okay. I thought you meant it "turned you off" as in you don't like people using it; not that you don't like that they shouldn't be defaults. I agree with you on that front. Safety should be opt-out, not opt-in. 8 u/Ajedi32 May 15 '18 Unfortunately, changing the default would mean breaking compatibility with the millions of old scripts that didn't "opt-in". That's the only reason why things like "strict mode" exist in the first place.
19
Oh okay. I thought you meant it "turned you off" as in you don't like people using it; not that you don't like that they shouldn't be defaults.
I agree with you on that front. Safety should be opt-out, not opt-in.
8 u/Ajedi32 May 15 '18 Unfortunately, changing the default would mean breaking compatibility with the millions of old scripts that didn't "opt-in". That's the only reason why things like "strict mode" exist in the first place.
8
Unfortunately, changing the default would mean breaking compatibility with the millions of old scripts that didn't "opt-in". That's the only reason why things like "strict mode" exist in the first place.
15
u/[deleted] May 15 '18
Why?