JaroslavTulach at 11:47, 1 October 2008 - 2008-10-01 11:47:30

←Older revision Revision as of 11:47, 1 October 2008
Line 18: Line 18:
you can obtain the diff in other ways, potentially you can send us to [mailto:apifest08@apidesign.org our mailing list] the whole ZIP file, but we want to have the right to process diffs first, as that is simpler for us.
you can obtain the diff in other ways, potentially you can send us to [mailto:apifest08@apidesign.org our mailing list] the whole ZIP file, but we want to have the right to process diffs first, as that is simpler for us.
-
Please submit your solutions by Sat, Oct 4, 2008. Good luck, and do not to keep [[BackwardCompatibility]]!
+
Please submit your solutions by Sat, Oct 4, 2008. Good luck, and do not forget to keep [[BackwardCompatibility]]!

JaroslavTulach: New page: The task2 of APIFest08 is here. We have fourteen solutions that advanced to second round. Some of them did use their chance to get up to speed in [[APIFest08:Task1.... - 2008-10-01 11:19:41

New page: The task2 of APIFest08 is here. We have fourteen solutions that advanced to second round. Some of them did use their chance to get up to speed in [[APIFest08:Task1....

New page

The [[APIFest08:Task2|task2]] of [[APIFest08]] is here. We have fourteen solutions that advanced to second round. Some of them did use their chance to get up to speed in [[APIFest08:Task1.5]], some of them did not. The latter ones will be in tougher position, as the [[APIFest08:Task2|second round]] is just about to start.

You task #2 is to allow one convertor to hold ''multiple'' rates of multiple currencies. Also, create an API to allow ''composition of convertors''. Here is the [http://source.apidesign.org/hg/apifest08/rev/2198184978d5 Task2Test.java] file with detailed description of the quest. Locate your solution among existing [http://source.apidesign.org/hg/apifest08/file/2198184978d5/task2/ task2] directory, copy the [http://source.apidesign.org/hg/apifest08/rev/2198184978d5 Task2Test.java] file along your '''Task1Test.java'''. Enhance your API, show its usage in the '''Task2Test.java'''.

After you are done, please generate a diff. The best way is to use [[Mercurial]]:
<source lang="bash">
# create the repository
hg clone http://source.apidesign.org/hg/apifest08/
# or update it
hg pull; hg update
# copy the task 2 file
hg copy currency/test/org/apidesign/apifest08/test/Task2Test.java task2/solutionXY/test/org/apidesign/apifest08/test/Task2Test.java
# then do your modifications
# ...
# and finally produce a diff
hg diff
</source>
you can obtain the diff in other ways, potentially you can send us to [mailto:apifest08@apidesign.org our mailing list] the whole ZIP file, but we want to have the right to process diffs first, as that is simpler for us.

Please submit your solutions by Sat, Oct 4, 2008. Good luck, and do not to keep [[BackwardCompatibility]]!