I’m sure that this has been covered before, but I’m horrible at doing
searches. I never seem to get the search terms right.
It’s often been said that one way to improve upon your programming
skills is to study other people’s code. I was wondering there were any
recommendations to some great examples on Rubyforge (or elsewhere) that
would be a good place to start. I am hoping to find some smaller
programs to start with; something I can wrap my brain around and then
start working my way up to larger more complex examples. Programs that
are well documented both in and outside of the code would be great. Mind
you I’m not looking for example to teach me Ruby itself. I am hoping to
expand upon my view on how I approach writing code in general.
Your help and recommendations are greatly appreciated.
Thank you and peaceful journeys.
JT
“Throw enough rocks at something and eventually it will catch fire” -
EES
It’s often been said that one way to improve upon your programming
skills is to study other people’s code. I was wondering there were any
recommendations to some great examples on Rubyforge (or elsewhere) that
would be a good place to start. I am hoping to find some smaller
programs to start with; something I can wrap my brain around and then
start working my way up to larger more complex examples. Programs that
are well documented both in and outside of the code would be great. Mind
you I’m not looking for example to teach me Ruby itself. I am hoping to
expand upon my view on how I approach writing code in general.
Another good source is sitting on you machine:
…/ruby/lib/ruby/…
Doesn’t hurt to get to know the internals of at least a couple of the
libraries. Quite a bit of variety, and many (if not most) are well
documented, or at least commented.
Thanks for the help so far. I was indeed aware of Ruby Q. already and
have been working on some of them. I’m quite often amazed at how simple
some of the solutions can be compared to what I’ve come up with.
Any suggestions for somethings slighty more complicated? I was thinking
along the lines of complete programs and such.
Thanks for the help so far. I was indeed aware of Ruby Q. already and
have been working on some of them. I’m quite often amazed at how simple
some of the solutions can be compared to what I’ve come up with.
Any suggestions for somethings slighty more complicated? I was thinking
along the lines of complete programs and such.
Well, it’s probably not your average ruby program, but I found this
helpful when I was first learning Ruby.
I’m sure that this has been covered before, but I’m horrible at doing
searches. I never seem to get the search terms right.
It’s often been said that one way to improve upon your programming
skills is to study other people’s code. …
The best way to improve on your programming skills is a combination of
writing and reading. Use the Ruby Q. that way - have a go yourself,
before you read and study the summary and other solutions.
Thanks for the help so far. I was indeed aware of Ruby Q. already and
have been working on some of them. I’m quite often amazed at how simple
some of the solutions can be compared to what I’ve come up with.
Any suggestions for somethings slighty more complicated? I was thinking
along the lines of complete programs and such.
Looks and sound interesting though there’s not much meat on the site
(unless I’ve missed a major hyperlink somewhere). It reminds me of
Donald Knuth’s “Surreal Numbers” and his Alice and Bill
Looks and sound interesting though there’s not much meat on the site
(unless I’ve missed a major hyperlink somewhere). It reminds me of
Donald Knuth’s “Surreal Numbers” and his Alice and Bill