addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Newsletter #7 - Code Style - Sept 8th 2011

Hello NYC on Rails. This newsletter is all about a topic that is near and dear to me - code style. Beautiful code is important because it generally means it is self documenting, functional, and maintainable. Hopefully these links will help define what style and beauty in code actually mean.

What makes beautiful code?

Perhaps the most articulate explanation of what beautiful code is and why it is important comes from Marcel Molina, Jr. at Ruby Hoedown 2007. He shows that the very things that make anything beautiful are the same things that make code beautiful. I highly recommend watching the entirety of this during a lunch break.
http://rubyhoedown200...

The Elements of Ruby Style

They are no Strunk and White, but a number of talented Rubysits have given a go at creating ruby style guides. Here is a round up of my favorites.

Originally an attempt at convincing Google to adopt Ruby, here's a classic by Ian Macdonald.
http://www.caliban.or...

Christian Neukirchen collects his favorites bullet points on github.
https://github.com/ch...

In a two part guide, Noel Rappin shares the style that comes with experience.
http://pathfindersoft...
http://pathfindersoft...

Nishant's Ruby Rules are a classic of traditional ruby aesthetic.
http://nuvvo.com/less...

And finally Daniel Huckstep has a huge list of dos and don'ts.
http://verboselogging...

Rails 3, Now with More Style

Rails 3 really provides you with the ability to get concise and clear code. There's a great screencast and presentation on how to take advantage of the framework for code elegance.
http://rubyonrails.or...
http://www.slideshare...

To Sum It All Up

The Robots at Thoughtbot took an awesome and revealing survey in 2009 about how Rubyists actually work and the results are worth looking over. And if podcasts are your things, Ruby Rogues has you covered with an excellent panel on the subject or what makes beautiful code.
http://rubyrogues.com...
http://37signals.com/...

Rails 1.9 Bonus

For all those who have the pleasure of a new rails environment rocking Rails 3.1 and Ruby 1.9, the prolific Ilya Grigorik provides a concise list of some of the hottest tricks and tips ruby 1.9 introduces to make your code hotter than the new Kanye and Jay-Z album.
http://www.igvita.com...

Upcoming Meetups and Conferences

Next week, September 14th, NYC on Rails will be hosting our 3rd Product Case study. Conrad Benham of Cyrus Innovation will be demonstrating how Agile practices are used to develop an app, covering important topics like Top-Down-Development, BDD, and code metrics.
http://www.meetup.com...

Lean Startup Machine, recently mentioned in the NYTimes, is a learning-intensive bootcamp where teams are taught how to identify customers and iterate their products through the Lean Startup toolset. The early bird deadline is September 23, 2011 and the final application deadline is Friday, September 30, 2011 at midnight. Mention NYC On Rails when you apply for a 10% discount.
http://theleanstartup...
https://leanstartupma...

Strata Conference covers the latest technologies along the entire data supply chain—from gathering, cleaning, analyzing, and storing data to communicating data intelligence effectively. Learn from the people and businesses that make big data work. Get 30% off conference pricing when you use code stn11usrg. http://strataconf.com...

Sponsored Ruby Jobs (learn about sponsoring these newsletters):
http://jobs.rubynow.c...

Highly talented Ruby on Rails developer wanted to create a social web app with a true social cause at Housing Book. This idea could help improve people’s daily lives and make them happier, healthier and safer.
http://jobs.rubynow.c...
http://housingbook.co...

Infogroup is offering some amazing referral benefits to this group and it's members if you can help them find a ruby developer. I've posted details about the program, so if you are that person or know someone, apply within.
http://www.meetup.com...

Cyrus Innovation is a small Agile development consulting firm that embraces the latest Agile practices, open source tools, and strive for continuous process improvement. They are looking for creative individuals to join their community.
http://www.cyrusinnov...

Shameless Self Promotion - Ruby Skillshare Class

I will be teaching an introduction to Ruby on Rails class on Tuesday September 13th and there are still seats open. If you or someone you know has been struggling with Rails, this class is for you.
http://www.skillshare...

One Last Thing...Speakers, Organizers, and Experts Wanted?

I'm looking for people who want to speak at our meetups, help out at our hackathons, be panelists at our code reviews, and in general, want to help make NYC on Rails awesome. Respond to this email to get some coffee with me (Avi Flombaum).

Table of Contents

Page title Most recent update Last edited by
Newsletter #7 - Code Style - Sept 8th 2011 September 8, 2011 2:01 PM Avi F.
Looking for Ruby Developers July 19, 2011 4:48 PM Avi F.
Refer a Rubyist to Help Support this Meetup June 23, 2011 12:45 PM Avi F.
RoR Position at Life Sciences Company June 23, 2011 11:16 AM Avi F.
About NYC on Rails June 17, 2011 11:42 AM Avi F.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy