Difference between revisions of "Continuous Rewriting"
(started the page) |
(added "why" section) |
||
Line 1: | Line 1: | ||
+ | = Continuos Rewriting = | ||
+ | |||
CITCON Europe 2013 4:30-5:30 pm topic. | CITCON Europe 2013 4:30-5:30 pm topic. | ||
+ | |||
+ | == Why? == | ||
+ | |||
+ | Business people find smart people that write a lot of crappy code fast. The code does the job done, but it really needs to be rewritten. If you have read Joel Spolsky's blog post on how completely rewriting the code is really really (really) bad, then you know it is not what needs to be done. | ||
+ | |||
+ | The speaker found himself several times in a situation to start working on a project that is in a "needs rewrite desperately" mode. What if we could rewrite continuously? | ||
+ | |||
+ | Every week, even if the code is not broken, we rewrite a piece of code. After a while, all code base will be rewritten. We might not use the rewritten code. | ||
+ | |||
+ | One has to invest a amount of time to do that. | ||
+ | |||
+ | You can rewrite a piece of PHP application in Ruby, another piece in Python, and end up with an application that is written in three languages. | ||
+ | |||
+ | If you rewrite, you end up with better code and you understand the code better. | ||
+ | |||
+ | Similar to pair programming, one would invest some time in continuos rewriting, but there are benefits. | ||
+ | |||
+ | == How? -Theory == | ||
+ | |||
+ | (Insert slide.) | ||
+ | |||
+ | == How? Practice == | ||
+ | == Puzzle == |
Revision as of 06:56, 28 September 2013
Continuos Rewriting
CITCON Europe 2013 4:30-5:30 pm topic.
Why?
Business people find smart people that write a lot of crappy code fast. The code does the job done, but it really needs to be rewritten. If you have read Joel Spolsky's blog post on how completely rewriting the code is really really (really) bad, then you know it is not what needs to be done.
The speaker found himself several times in a situation to start working on a project that is in a "needs rewrite desperately" mode. What if we could rewrite continuously?
Every week, even if the code is not broken, we rewrite a piece of code. After a while, all code base will be rewritten. We might not use the rewritten code.
One has to invest a amount of time to do that.
You can rewrite a piece of PHP application in Ruby, another piece in Python, and end up with an application that is written in three languages.
If you rewrite, you end up with better code and you understand the code better.
Similar to pair programming, one would invest some time in continuos rewriting, but there are benefits.
How? -Theory
(Insert slide.)