In my quest to learn Ruby, I'm struggling to find everyday usable code examples that i can relate to. Might you suggest some ?
Thanks to the helpful advice to my previous
question, I went out and bought "Code
" and "Ruby by Example
" and am diving (or attempting to) headlong into learning Ruby.
Thats all well and good, but I'm hitting a comprehension wall. All of the examples I'm finding are not anything I can relate to. (meaning = I dont see how they apply to me or my everyday life, so as soon as I start trying to learn them, my eyes (and brain) gloss over and my knowledge absorption rate goes down to nil.)
I understand that "hello world", "rename all files in this folder", and things like "99 bottles of beer" are meant to teach me basic concepts and structure of the syntax, but because these programs don't produce any tangible result in my everyday life, I find it immensely difficult to care about learning them. ( I realize this makes me sound like a typical snotty highschool student, but hear me out)
So, my question(s):
1.) if you are a Ruby (or other language) programmer. Can you cite specific examples of code (large and small) that you've written that you use EVERY DAY ? (bonus pts for source code I can actually download and tear apart)
2.) Could you point me to online resources/repositories of code examples that are actually things I might actually use?
I realize the common advice is: "Just find some problem your interested in solving and code it!!!" (meaning = the MeFi crowd in general cant know what "everyday useful" means to ME), but I'm hoping someone has run into this same problem and found something that worked for them to relate coding to their everyday life. If it makes a difference, my everday job is working IT in a datacenter. Monitoring servers and connections, and responding to outages/alerts regarding said equipment. But that doesnt mean I want my Ruby code to simply be scripts aimed at IT Sysadmin work. I'd love to be able to (eventually) write fully fledged programs or web-apps that the public at large might find useful.
I think the frustration I'm feeling is not being able to find the "bridge" (middle ground) between "Hello World" and "Look!, a functional program/web-app". What I'm hoping for is someone can point me to medium sized Ruby programs or online apps and say "This was created entirely in Ruby, its an easy to use program that produces this tangible result."