Wouldn't it be nice to write `??` in ruby? Or even better `??=`? This would allow you to memoize on true like `@some_neat_flag ??= true` and if foo was false that would stick as opposed to `@some_neat_flag ||= true` which is _always_ true.
proposal here: bugs.ruby-lang.org/issues/13…
1
190
Replying to @SeeClickGrow
@SeeClickGrow this light bar needs to be an inch or two longer. 3rd basil is about half the size of the others. Otherwise nice product!
13
Had some leaf blowing to do yesterday so had some podcast time. Listened to the first YAGNI episode and am now smashing that subscribe button yagni.fm/
3
It happened. Last night my son asked me, out of the blue, "what's the sum of all the numbers 1 to 100." Nearly choked on my dinner to show him the beauty of ruby `(1..100).reduce(:+)` done.
2
3
Replying to @ShinoKouda
I like the level of honesty that @avdi talks about on this subject here avdi.codes/service-objects/ note that I do employ service objects too
3
Replying to @ThatAndromeda @mberkowski
Shopify is a great place to work speaking as a former library dev and attendee at one of your keynotes
1
1

