PDXRB MEETUP IS TOMORROW!
"And what about our other presentation?!", you ask with bated breath. Well...
Zach prefers to keep an air of mystery about this presentation, a certain je ne sais quoi, if you will. So we're just gonna highlight that it's gonna be teh awesome!1!11!!, and should be super helpful as you go about solving problems with enumerators.
Really, this will be great. I <3 #map. How much? Well, in my very scientific study*, I found that I use #map and #each combined about 50 times per project. A project I consulted on a few years ago, really likes #map and #each, like 3X MOAR! So, check out your own codebases and the winner gets to wear the enumerators benevolent dictator crown and a Miller High Life b/c benevolent dictators should drink the finest champagne of beer in life. ("Winner" here means most instances of #each + #map regardless of SLOC)
And here's some background info on Zach:
I'm the latest engineer to join the team at Tilde. When not coding I can probably be found feeding hummingbirds or building credenzas.
RECAP: Tilde is taking over PDXrb. So this meetup will be #1 high quality and #2 one that you should attend :D
TL;DR
#!/usr/bin/env ruby
tortured_ruby = "this meetup is going to be teh awesome#{1.upto(42).map{ rand(42) % 13 == 0 ? "1" : "!" }.join}"
puts tortured_ruby
Cheers!
tim
* $ grep -rE '(each|map)' app/{models,controllers,workers} | wc -l # IDK I just don’t feel right counting enumerators in views ¯\_(ツ)_/¯