Sha256: f193086748e2a37fdaa1affb60b52c9d9894a4e46bd7bd0ef356d07b33c1c572
Contents?: true
Size: 1.14 KB
Versions: 97
Compression:
Stored size: 1.14 KB
Contents
# Ledger Refactor a ledger printer. The ledger exercise is a refactoring exercise. There is code that prints a nicely formatted ledger, given a locale (American or Dutch) and a currency (US dollar or euro). The code however is rather badly written, though (somewhat surprisingly) it consistently passes the test suite. Rewrite this code. Remember that in refactoring the trick is to make small steps that keep the tests passing. That way you can always quickly go back to a working version. Version control tools like git can help here as well. Please keep a log of what changes you've made and make a comment on the exercise containing that log, this will help reviewers. ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/<exerciseName>` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
97 entries across 97 versions & 1 rubygems