From: Daniel Lindsley <daniel@snow-wolf.net>
Date: December 1, 2007 12:53:48 AM CST
To: submission@rubyquiz.com
Subject: Please Forward: Ruby Quiz Submission
James,
I have a submission for Ruby Quiz #148: "Postfix to Infix". It is neither amazing nor beautiful but it seems to work and I've hit my limit on time I can spend on it. I'd appreciate any feedback if it's appropriate to request it. And my apologies if a different packaging format or different means of bundling the code together is preferred (I'm rather new to all of this). Thank you for the excellent site and challenges!
Daniel
postfix_to_infix.rb (1.09 KB)
postfix_to_infix_test.rb (1.3 KB)
···
Begin forwarded message:
From: Daniel Lindsley <daniel@snow-wolf.net>
Date: December 1, 2007 12:53:48 AM CST
To: submission@rubyquiz.com
Subject: Please Forward: Ruby Quiz Submission
I'd appreciate any feedback if it's appropriate to request it.
I think you have a very clean implementation. Nice work.
It does have one trivial bug in it. This line:
raise NotImplementedError("Because I'm pressed for time.")
isn't syntactically correct. You can fix it by changing it to:
raise NotImplementedError, "Because I'm pressed for time."
or:
raise NotImplementedError.new("Because I'm pressed for time.")
Thank you for the excellent site and challenges!
Thank you for participating.
James Edward Gray II
···
On Dec 2, 2007, at 10:45 AM, James Edward Gray II wrote:
Begin forwarded message: