From: Jacob Mitchell Date: 2010-06-07T20:56:17+09:00 Subject: Re: Very simple programming exercises --00c09f9b0abe106f1d04886f5cf6 Content-Type: text/plain; charset=ISO-8859-1 The way I've used code golf breaks with tradition. I try to write clean yet concise code that solves the problem. It's a great way to start playing with a language that you're not familiar with because, again, the problem statements are *very* simple. It has helped me learn the basics of various languages like the back of my hand. -Jake On Mon, Jun 7, 2010 at 7:45 AM, Rick DeNatale wrote: > On Mon, Jun 7, 2010 at 7:35 AM, Jacob Mitchell > wrote: > > Search for "code golf". I personally have enjoyed > > http://golf.shinh.org/because the problems tend to be very simple. It > > helps you learn the pros > > and cons of various languages. > > > > -Jake > > I strongly disagree that code golf is a good learning exercise for a > beginner. > > The first goal of newbie should be to learn to write clean understandable > code. > > Code golf, where the goal is to write a program in the minimum of > characters, might be an interesting intellectual exercise, but it > leads to writing cryptic code which is just the opposite of what a > beginner should be learning. > > Besides Dave Thomas code katas which Ryan mentioned. It might be > worthwhile to have a look at the old RubyQuiz site > > http://rubyquiz.com/ > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Github: http://github.com/rubyredrick > Twitter: @RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > > --00c09f9b0abe106f1d04886f5cf6--