Ruby Best Practices

Increase your productivity -- Write Better Code

Issue 1.25: Creational Design Patterns


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Originally published as part of the first volume of the Practicing Ruby newsletter on February 22, 2011. Most of these issues draw inspiration from discussions...

Issue 1.25: Creational Design Patterns


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Originally published as part of the first volume of the Practicing Ruby newsletter on February 22, 2011. Most of these issues draw inspiration from discussions...

How Mendicant University Works


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Back in June 2010 I announced via this blog my intentions to create a free online school called Ruby Mendicant University. After a year and a half of hard...

How Mendicant University Works


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Back in June 2010 I announced via this blog my intentions to create a free online school called Ruby Mendicant University. After a year and a half of hard...

Practicing Ruby Journal: Three months in and still going strong


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Three months ago today I relaunched my subscription-based weekly Ruby journal. Over the last 13 weeks I’ve shared my thoughts with over 250 subscribers...

Practicing Ruby Journal: Three months in and still going strong


almost 3 years ago by gregory.t.brown@gmail.com (Gregory Brown) on Ruby Best Practices.
Three months ago today I relaunched my subscription-based weekly Ruby journal. Over the last 13 weeks I’ve shared my thoughts with over 250 subscribers...

USP: Unix processes and their attributes


almost 3 years ago by normalperson@yhbt.net (Eric Wong) on Ruby Best Practices.
Processes are kernel objects that run user space code. As we’ve established before, each Unix process is identified by an integer process identifer...

USP: Unix processes and their attributes


almost 3 years ago by normalperson@yhbt.net (Eric Wong) on Ruby Best Practices.
Processes are kernel objects that run user space code. As we’ve established before, each Unix process is identified by an integer process identifer...

USP: IO#dup and the dup(2) system call


~3 years ago by normalperson@yhbt.net (Eric Wong) on Ruby Best Practices.
IO#dup vs. Object#dup IO#dup is Object#dup in Ruby: it creates a shallow copy of an existing object. To create a shallow copy, the IO#initialize_copy callback...

USP: IO#dup and the dup(2) system call


~3 years ago by normalperson@yhbt.net (Eric Wong) on Ruby Best Practices.
IO#dup vs. Object#dup IO#dup is Object#dup in Ruby: it creates a shallow copy of an existing object. To create a shallow copy, the IO#initialize_copy callback...