Hey Rubyists of Twitter.. explain to me why I should use `%w[foo bar]` instead of `["foo", "bar"]`
-
-
Replying to @kerrizor
For two element arrays, no reason. For many-element arrays of single words, easier to write and read.
1 reply 0 retweets 3 likes -
%w[ my very educated mother just served us nice pickles ] (The pickles might be out though)
1 reply 0 retweets 1 like
Should have been "nine", but I like "nice" too!
5:15 PM - 5 Nov 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.