By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,928 Members | 1,173 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,928 IT Pros & Developers. It's quick & easy.

Yet Another Software Challenge

P: n/a
For those interested in <b>programming riddles</b>, I would like to
announce a new programming challenge I'm just launching at
http://software.challenge.googlepages.com

This challenge is in its early stage and thus set to be continuously
improved.

I would be especially interested in your comments and feedbacks about
this initiative and its relevance.

Enjoy!

Thierry

May 14 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On May 14, 8:14 am, Thierry <machico...@gmail.comwrote:
For those interested in <b>programming riddles</b>, I would like to
announce a new programming challenge I'm just launching athttp://software.challenge.googlepages.com

This challenge is in its early stage and thus set to be continuously
improved.

I would be especially interested in your comments and feedbacks about
this initiative and its relevance.

Enjoy!

Thierry
A small typo in your instructions: ".hml" should be ".html".

-- Paul

May 14 '07 #2

P: n/a
On May 14, 8:14 am, Thierry <machico...@gmail.comwrote:
For those interested in <b>programming riddles</b>, I would like to
announce a new programming challenge I'm just launching athttp://software.challenge.googlepages.com

This challenge is in its early stage and thus set to be continuously
improved.

I would be especially interested in your comments and feedbacks about
this initiative and its relevance.

Enjoy!

Thierry
More feedback:

In Riddle 2, the "global" declarations are unnecessary, as you are
only referencing the globally-defined vars for read.

Also in Riddle 2, I would replace
for s in alphabet: indices[s] = alphabet.index(s)
with
indices = dict( (s,i) for i,s in enumerate(alphabet) )

(I see part of your Python Challenge as giving new Pythoners something
to cut their teeth on, and so this is an opportunity for giving
examples of good style.)

I do enjoy these challenges, they are quite addicting. :)

-- Paul

May 14 '07 #3

P: n/a
On May 14, 3:40 pm, Paul McGuire <p...@austin.rr.comwrote:
>
In Riddle 2, the "global" declarations are unnecessary, as you are
only referencing the globally-defined vars for read.

Also in Riddle 2, I would replace
for s in alphabet: indices[s] = alphabet.index(s)
with
indices = dict( (s,i) for i,s in enumerate(alphabet) )

(I see part of your Python Challenge as giving new Pythoners something
to cut their teeth on, and so this is an opportunity for giving
examples of good style.)

I do enjoy these challenges, they are quite addicting. :)

-- Paul
Hi Paul,

Many thanks for your feedback and your example of good Python style.

Even though the challenge is opened to any language practitioner, I
must confess that I personally prefer Python and that languages like
Python and Ruby are likely to be the most effective to solve the
riddles.

Don't hesitate to report any issue you could find.

Enjoy. Cheers. Thierry

May 15 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.