15 Mar '13, 9am

@craftstudiodev no matter what, you want to end up like this when reading your code (after a long time)

Ruby developers are very sensitive to naming things. There are strong conventions regarding class, variable, method and file names, and these are not just organizational or cosmetic – some have their semantics even during code execution. For instance: in Rails a model named “Person” is implicitly tied to the “people” table in the database just by name inspection. In our recent project we’ve been building lots of our application logic around naming. Today I was editing some code and have been blown away realizing how deep we actually went with this over time. Take a look at this single line of code from one of our main Haml templates: = thumbnails_box "Top contributors", :expires_in => 30.minutes, :link => true This renders a generic “thumbnails box” view partial populated with avatars and names of several of our top contributors. What isn’t obvious here is just how much th...

Full article: http://mislav.uniqpath.com/rails/the-power-of-naming-conv...

Tweets

Is anybody listening to what Sabahans want? #Bo...

blog.limkitsiang.com 15 Mar '13, 3am

Lucy Ahmed Malaysiakini Mar 4, 2013 When speaking of the recent Sabah intrusion incident, many people are trying to relate...

Kindle is killing the magic of reading

Kindle is killing the magic of reading

sheylara.com 07 Mar '13, 11am

The first thing I noticed about the Kindle was that, when you first open up a new book, it invariably starts you off at th...

Zalora Up To 10% OFF Storewide Coupon Code #sin...

singapore-promotions.com 15 Mar '13, 4pm

Start: 16 March 2013 End: 18 March 2013 Venue: Zalora Enjoy up to 10% OFF on over 800 fashion and beauty brands with the b...

Week End Wrap Up (03.15.13): Chelsea Clinton

Week End Wrap Up (03.15.13): Chelsea Clinton

realestalker.blogspot.com 15 Mar '13, 5pm

NOTE: While Your Mama, The Dr. Cooter, Sister Cooter and Mama Cooter braved the scorching desert heat and watched hour aft...

Somtimes size does matter… Why I want a small handbag this spring! via @SusanMcNeill

Somtimes size does matter… Why I want a small h...

susansaidwhat.com 14 Mar '13, 9pm

During the winter months, I toss everything in a voluminous Kelly Moore tote (sometimes my whole in-box goes – wooden tray...

Like No Like:

bolehland.net 13 Mar '13, 11pm

Kisumi commented on Like No Like - Answer like this: You jelly? Want to ... batak commented on Like No Like - Why should y...

Second of two 377A challenges may have to wait a long time for a decision

Second of two 377A challenges may have to wait ...

yawningbread.wordpress.com 10 Mar '13, 6am

Wednesday, 6 March 2013, was the day Tan Eng Hong’s challenge to the constitutionality of Section 377A was heard in closed...

Like No Like:

bolehland.net 13 Mar '13, 12pm

Kisumi commented on Like No Like - Answer like this: You jelly? Want to ... batak commented on Like No Like - Why should y...

Exclusive: Q&A: Larry Nitz says GM "committed to electrification as a long-term journey"

Exclusive: Q&A: Larry Nitz says GM "committed t...

green.autoblog.com 11 Mar '13, 11pm

: We're in our second generation of eAssist , and we're very bullish on it because it provides a couple of fundamental thi...

Angry Afghan villagers want U.S. spec ops out #Marine #USMC

Angry Afghan villagers want U.S. spec ops out #...

marinecorpstimes.com 11 Mar '13, 8pm

http://www.marinecorpstimes.com/news/2013/03/ap-afghan-villagers-want-us-special-operations-forces-out-031113/ Angry Afgha...

Stop the madness. End the #VA backlog. Sign @IA...

iava.org 12 Mar '13, 9pm

End the VA backlog. Stop the madness. Posted by IAVA Staff on March 12 A shocking report just came out about the Departmen...

Watch Liberated Research Chimps See the Sky for the First Time

Watch Liberated Research Chimps See the Sky for...

care2.com 12 Mar '13, 12pm

Chimp Haven, the sanctuary for retired biomedical research chimps, has released a moving video that shows government resea...