Tip #15 - Read Other People's Code
Fri Apr 25 20:56:42 -0700 2008
It is a great tip, and one I do fairly often, go download some code and read it until you understand it.
This is a short tip!
Sometimes you just need a different perspective.
Getting and installing say, restful authentication, or downloading the Joyent Connector and reading through some of the code will give you lots of good ideas about where to go and what to do in your own application development.
A great one for the intermediate Railsite is the Caboose sample apps These really give you a new view on how to make an app.
Anyway, happy hunting!
Mikel
Leave a Reply
Latest posts
- Put your mailer where the action is!
- Why Force a Choice?
- How to make an RSS feed in Rails
- Rails 3 Routing with Rack
- Bundle me some Rails
- Helping out in Haiti
- Watch your self
- Is Rails 3.0 a Game Changer?
- Where did the scripts go?
- validates :rails_3, :awesome => true
- New Rails Version 3.0 Guides Online
- New ActionMailer API in Rails 3.0
- Mail gem version 2 released
- How to rename a Rails 3 Application
- Rails 3.0 Examples
- DECCA Driving Day
- Mail now merged into ActionMailer
- Tip #29 - Stop a Mongrel (or any) Service in Windows
- Ruby on Rails Tips Page
- Monitoring a DAHDI or Zaptel Channel
- Mail gets some compliments!
- Rails Unit Tests: uninitialized constant error
- New Mail gem released
- Mail and Bounced Emails
- Mail, TMail, The Future of Ruby Email Handling
- Custom Music on Hold for Asterisk
- Always getting an invalid authenticity token error
- Windows ipconfig does not show anything
- FreeBSD rc scripts
- How to monitor a logged in professional
- TMail Moves to GIT
- Funny...
- How to reset a sequence with PostgreSQL
- OpenBSD RAID and Temp Sensors on HP Proliant DL 360 and 380 Series
- Terminator - Timeout without Mercy
- Tip #28 - Separate the things that change from the things that stay the same
- Fortune...
- Examples of Behaviour Spec'n
- Tip #27 - Spec a Behaviour, Not an Implementation
- Tip #26 - Start Small
- Tip #25 - Logging is your friend...
- Tip #24 - Being clever in specs is for dummies
- Tip #23 - Know your fundamentals
- Convert Visual Basic / Microsoft Long Integer Color Values to CSS RGB Format
- It's amazing what you find...
- RSpec Story xhr problem
- Tip #22 - How to ask a question about Rails
- Tip #21 - Developer Info On Every Page
- And now for something completely different...
- Rails 2.1 is out
Latest comments
Tag Cloud
AJAX ARGH! ActiveRecord Ajax Apache Apple Asterisk Australia Copy Database Development Feedburner Gem server Google Human Rights Javascript L. Ron Hubbard MS SQL Server MacOSX Mail Mephisto Not Programming OpenBSD Opensource Performance Personal Integrity PostgreSQL Programming Prototype Puzzle RDoc REST RESTful Rails RSPec RSpec Rails Rails Tips Rspec Ruby Ruby on Rails Ruby on Rails Tips Ruby on rails Tips SQL SQLServer SVN Scientologist Scientology Site Stats Soekris Soekris net5501 TMail Textmate Tips Windows World about mikel anti drug apache contributing daemon documentation drugs illustrator javascript lambda mail mephisto newspapers nitro open source opensource photoshop productivity programming railscasts rspec ruby ruby on rails rubyforge scientology seo sitemap sqlserver tips tmail tom cruise unix tricks vector graphicsArchives
- November 2009 (1)
- October 2009 (2)
- September 2009 (2)
- August 2009 (0)
- July 2009 (1)
- June 2009 (0)
- May 2009 (1)
- April 2009 (0)
- March 2009 (0)
- February 2009 (0)
- January 2009 (2)
- December 2008 (0)
- November 2008 (5)
- October 2008 (0)
- September 2008 (1)
- August 2008 (0)
- July 2008 (2)
- June 2008 (13)
- May 2008 (7)
- April 2008 (18)
- March 2008 (8)
- February 2008 (5)
- January 2008 (7)
- December 2007 (20)
- November 2007 (22)

Sat May 10 10:34:55 -0700 2008
Short but sweet. I think this is something very important for any programmer. Perl (and the same can be said for Ruby and many other languages) was both criticized and praised for its “there is more than one way to do it” philosophy.
Often times programmers are reluctant to try things a different way… these programmers are not flexible and, to be honest are hurting themselves. Like mikel shows here, seeing how others code will give you lots of good ideas, interesting new algorithms, tricks, data structures, and more.
When you see a cool open source program take the time to check out the source to see how they did something you thought was cool. In the end you might end up learning, or better yet improving the product and contributing!
Also its really cool to take a look at a project, be amazed, and email the author and tell him what you thought was cool. I’ve done this a few times and always gotten a great response. Support fellow programmers and don’t be afraid to complement one another.
Sun May 11 21:09:13 -0700 2008
I referred to Beast quite a bit while learning Rails:
http://beast.caboo.se/
I also have an open-source project of my own that people might find useful when learning:
http://almosteffortless.com/eldorado/