Skip to content

Commit

Permalink
README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stathissideris committed Dec 22, 2012
1 parent c94daf0 commit 07a5515
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# defalt

"Let me comment this out for a second..."
##"Let me comment this out for a second..."

## Rationale

Expand All @@ -16,13 +16,14 @@ When debugging existing code, the REPL offers the unique opportunity
to replace functions with alternative versions of themselves
interactively and at runtime. In an attempt to identify the bug,
portions of the code are commented out, return values are mocked and
namespaces are maimed and tortured. How do you manage all that? There
are various approaches: you may copy and paste the relevant function
into the REPL, change it a bit and press enter, thus making an
invisible change that you will forget about in half an hour. You can
change your code in place, with a ";;TODO remove this" and happily
ignore your comment and deploy to your mocked code to production at
the end of a long a difficult day.
namespaces are maimed and tortured.

How do you manage all that? There are various approaches: you may copy
and paste the relevant function into the REPL, change it a bit and
press enter, thus making an invisible change that you will forget
about in half an hour. You can change your code in place, with a
";;TODO remove this" and happily ignore your comment and deploy to
your mocked code to production at the end of a long a difficult day.

defalt attempts to provide a way out. It provides the tools to define
alternative implementation of methods, to dynamically switch between
Expand Down

0 comments on commit 07a5515

Please sign in to comment.