You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 6Your manager might be thinking, how did it get this way in the first place, and what's going to stop it from ending up the same way after years of you rewriting it?Scott Whitlock– Scott Whitlock2014-02-03 13:16:37 +00:00Commented Feb 3, 2014 at 13:16
- 22If your boss cannot tell the need to refactor from the need to rewrite, then possibly he can't tell rewriting from refactoring either. Consider rewriting anyway and dressing it up in the words he wants to hear.Kilian Foth– Kilian Foth2014-02-03 13:17:17 +00:00Commented Feb 3, 2014 at 13:17
- 6The question doesn't make it clear what your manager's motivation is for preferring refactoring to rewriting. If you've already told your manager that you think it needs rewritten then your next step relies entirely on why he/she is choosing to go against your advice. Ask them, they might have a good reason. If they don't have a good reason at least you'll understand what is motivating their decision making and you can tailor your explanation to show them why your approach is superior.combinatorics– combinatorics2014-02-03 13:25:25 +00:00Commented Feb 3, 2014 at 13:25
- 13He's probably read Joel Spolsky's "Things You Should Never Do, Part I": joelonsoftware.com/articles/fog0000000069.htmlEric King– Eric King2014-02-03 14:58:38 +00:00Commented Feb 3, 2014 at 14:58
- 11@tom - isn't that refactoring? The major difference between the two as far as I can tell is that continually refactoring keeps the program running while the code is gradually replaced whereas a re-write means that at no point will the old code interact with the new, meaning that no-one can use the new code until it is near feature-completeMatt Allwood– Matt Allwood2014-02-03 17:26:26 +00:00Commented Feb 3, 2014 at 17:26
| Show 5 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you