•  

Building a Ruby Library, the Parts No One Talks About

A session at Aloha Ruby Conference 2012

Tuesday 9th October, 2012

2:00pm to 2:45pm (HST)

We all interface with Ruby libraries every day, so we all know what makes up a "good" Ruby API. But there is a lot more to a "good" library than just the API: proper logging, flexible configuration, a sane exception hierarchy, and useful documentation, just to name a few. How do we do these things properly? What pros/cons are there to different approaches? Unfortunately, no one really talks about these things, despite being very important to the overall feel of a library.

In this talk I'll share my knowledge of these things from being the maintainer of popular Ruby applications and libraries. I'll show you the idiomatic Ruby way to do logging, configuration, exception handling, and much much more. But don't worry, I won't just be preaching, I'll show you the reasons why these methods have become the community approved way of doing things.

About the speaker

This person is speaking at this event.
Mitchell Hashimoto

Founder of @HashiCorp. Creator of Vagrant, Packer, Serf, Consul, Terraform, Vault, Nomad, and Otto. Lover of open source. Automation-obsessed developer. bio from Twitter

Next session in Track 1

3pm The Designers are Coming! by Glenn Gillen

Mitchell Hashimoto at previous events

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 2:00pm2:45pm HST

Date Tue 9th October 2012

Short URL

lanyrd.com/srfff

Official event site

aloharubyconf.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session