Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rewrite]

The tag has no usage guidance.

1
vote
0answers
21 views

mod_rewrite should I define a url prefix for assets?

I am working on a little framework where I have this directory tree: project/ |--- ... (directories unrelated to the question) |--- public/ | |--- index.php .htaccess The .htaccess sends every ...
9
votes
4answers
628 views

Refactoring - is it appropriate to simply rewrite code, as long as all tests pass?

I recently watched "All the Little Things" from RailsConf 2014. During this talk, Sandi Metz refactors a function that includes a large nested if-statement: def tick if @name != 'Aged Brie' &&...
-1
votes
5answers
346 views

Writing software from scratch in business [closed]

I'm a programmer with ten years of experience. I've worked as full time programmer in 2 companies in these ten years as a software developer. I have always loved to have my own business. My question ...
1
vote
1answer
126 views

Rewriting an old, broken desktop application via a local API

We are currently supporting a very outdated, unstructred, untested and unstable ERP desktop application coded in Windev (on windows). As the days go on, we need to add more features for the users but ...
4
votes
8answers
694 views

Is code being constantly rewritten and is it therefore pointless to worry about the quality of the early iterations of rewriting code?

In the University one of the lecturers was insisting on a piece of advice I found odd. This lecturer insisted that his pupils do not care too much about decisions like the choice of the programming ...
8
votes
7answers
2k views

How to deal with a large codebase with no requirements and the responsible person leaving the company soon [duplicate]

i am faced with the following scenario and i wonder if you guys have some tips for me on how to approach this. One of my colleagues is going to leave the company in a few month and i am ordered to ...
2
votes
1answer
153 views

Gap between Code base and Production application

Background I joined a company as a solutions architect less than a year ago, with a main task of consolidating, and modernizing legacy code resulting from 90+ company acquisitions over the past 20+ ...
-2
votes
1answer
152 views

Is there any place for a “start from scratch” philosophy? How often is starting over considered a good idea? [closed]

It may be inexperience, but in the small projects I've worked on, I've often found it super useful to completely start over. Is this unique to novices or is it a real thing? It obviously doesn't ...
-4
votes
1answer
144 views

Rewrite legacy code or continue to live with it [duplicate]

Last year I decided to create a web-based SAP Business One extension system consisting of a JavaScript SPA written with Aurelia that communicates with two REST backends written in Go and Java (...
2
votes
2answers
216 views

Object Oriented Re-Design/Re-Write

Let me begin by stating I have already reviewed the following related questions, and just wanted to showcase the software architecture which I have inherited to see how opinions may vary. When is a ...
13
votes
5answers
1k views

How to avoid rewriting parts of an application

I'm working at a company on a project for their Sales department. It's my first professional programming job, but I've been coding by myself and learning for years. Part of the project involves taking ...
0
votes
3answers
552 views

Is rewriting old code a good idea yet? [duplicate]

Inspiration here Let's say I have a big, wonderful set of integration tests for my product. It tests anything and everything that we need to test. And after the product passes all these tests, we ...
3
votes
2answers
629 views

Mix Web Forms and ASP.NET MVC

I am working on a very large ASP.NET Web Forms project. Our team wants to rewrite this project with ASP.NET MVC and domain driven design. Is it a good idea to combine Web Forms with MVC? With this ...
1
vote
1answer
890 views

Best way to rewrite an mvc application to an angular architecture

We have an mvc application that we would like to gradually move to an angular platform. It is a wizard style app with 6-8 pages. We currently have a classic mvc layout. We would like to move to an ...
0
votes
5answers
221 views

When creating time estimates for features, is there a standard percentage to tack on for potential refactoring?

Note: I get that refactoring is something you do along the way, you don't treat it as it's own "thing", or it's own specific task. I am talking about refactoring along the way, however I am not sure ...
186
votes
21answers
23k views

A large part of my code has a major design flaw. Finish it off or fix it now? [closed]

I am a high school student working on a C# project with a friend of mine with about the same skill level as me. So far, we have written roughly 3,000 lines of code and 250 lines of test code in a span ...
3
votes
2answers
230 views

When rewriting medium to large applications, which of these approaches are useful?

Despite Joel's missive that software rewrites are to be avoided under pain of death, it is still fairly common place. A lot of the existing software is good, but here and there, parts of it niggle, so ...
1
vote
0answers
191 views

Switching from Node.js class techniques to C++

I'm going to be rewriting a project from Node.js into C++11. The device the Node.js scripts are being run on are ARM based, and Node.js is slow to start up on the device. In the Node.js program, I ...
29
votes
3answers
3k views

Version control practice for Rewrites

We developed a product (prototype) P_OLD in language X and we are now rewriting it from scratch as P_NEW in language Y. Since P_NEW and P_OLD are the same product: Should P_NEW just be a brach of ...
3
votes
3answers
572 views

Is a complete rewrite against the license/eula of this software?

Okey, so I have for a while now been thinking of rewriting the minecraft server, this time in a language called golang. It's just a example project that I can learn a new programming language through.....
3
votes
3answers
442 views

How would you rewrite/refactor this ? [duplicate]

Old application that is used by 50-60.000 paying customers. Company is several hundred people big. Application has a lot of business critical code (30% of all code) written in classic asp. Application ...
1
vote
2answers
285 views

Advice on approaching a significant rearrangement/refactoring?

I'm working on an application (hobby project, solo programmer, small-medium size), and I have recently redesigned a significant part of it. The program already works in it's current state, but I ...
5
votes
7answers
2k views

“All software has an expiration date by which time it must be rewritten from scratch.” [closed]

I stumbled upon a discussion between senior engineers and people from non-technical backgrounds and this seems to be a strongly held belief in some places. I'm of the opinion that such a situation is ...
5
votes
3answers
218 views

Engineering a better solution, coming from existing codebase [duplicate]

The Code I have high-business-value daily-used-by-customer software that is written in PHP and spans approximately 600K lines of code. Customer for a long time needs, wants, and demands new features ...
2
votes
4answers
663 views

Considerations before rewriting a software component from scratch? [duplicate]

A piece of software is a patchwork of old and undocumented efforts. There are no comments, no documentation, and the code is hairy -- it involves Unix shell scripts that check for dummy files and then ...
1
vote
3answers
953 views

How Microsoft Market DotNet? [closed]

I just read an Joel's article about Microsoft's breaking change (non-backwards compatibility) with dot net's introduction. It is interesting and explicitly reflected the condition during that time. ...
2
votes
9answers
11k views

Hiding query strings logically?

I feel uncomfortable when using query string parameters as: http://xyz.com/default.aspx?carId=1129&country=uk&uniqueId=98745DVF4563VVf1259 I would rather use something that should not make ...
24
votes
2answers
12k views

We have a large Ruby on Rails application (25 million monthly users), our management decided to rewrite in Node.js, am I crazy?

Please tell me if: Node.js will make our site faster! Node.js will consume fewer server resources, we can save money! Node.js will make us more productive! Node.js means we can share client and ...
13
votes
6answers
2k views

Rewriting software using Agile methodologies

Suppose you have to rewrite an entire application using Agile methodologies, how would you do it? I guess you could write a big bunch of user stories based in the behavior of your current system. And ...
0
votes
2answers
99 views

Inheriting projects - General Rules? [duplicate]

Possible Duplicate: When is a BIG Rewrite the answer? Software rewriting alternatives Are there any actual case studies on rewrites of software success/failure rates? When should you rewrite? ...
14
votes
5answers
1k views

Software rewriting alternatives [duplicate]

We have a legacy system to bring up-to-date because: It uses an unpopular (amoung our users) non-sql database (Btrieve) Provides only a text interface Is written in Turbo Pascal (but compiled in free ...
1
vote
2answers
279 views

Using mod_rewrite for a Virtual Filesystem vs. Real Filesystem

I started working in a department that uses a CMS in which the entire "filesystem" is like this: create a named file or folder - this file is given a unique node (ex. 2345) as well as a default "...
1
vote
2answers
205 views

In need of a divide and conquer approach for re-writing small open-source utilities [duplicate]

Preamble (Skip if you don't like to read) I've been learning C/C++ in school for a year now and all the assignments in the book, after reading through the chapters, were not too difficult to ...
35
votes
5answers
3k views

Are there any actual case studies on rewrites of software success/failure rates?

I've seen multiple posts about rewrites of applications being bad, people's experiences about it here on Programmers, and an article I've ready by Joel Spolsky on the subject, but no hard evidence or ...
5
votes
1answer
100 views

To Press Onward or Not?

In the past week I've been meeting and speaking with someone who's interested in finding help on developing a game (built using php and mysql, with a little bit of javascript). I agreed to help out, ...
15
votes
10answers
764 views

suggesting large changes/a rewrite as an intern [closed]

The context: it's an internal project (that I don't think a lot of people use) it's old we're updating it The issues: it abuses the mvc framework (no use of models, business logic in views, etc) ...
8
votes
6answers
2k views

Remake old web forms application in asp.net mvc [duplicate]

I've inherited the code maintenance of a complex web site for a customer that continuously requests enhancements for it. This application took years to develop and I'm facing increased difficulties to ...
18
votes
5answers
3k views

When should you rewrite? [duplicate]

Possible Duplicate: When is a BIG Rewrite the answer? In Joel Spolsky's famous (or infamous) article Thins You Should Never Do, Part I, he makes the case that doing a rewrite is always a wrong ...
5
votes
8answers
1k views

Should this code be rewritten or refactored?

There is a module in our telecoms equipment which is written in C. I think the code in this module has a bad smell because it has a number of symptoms: When new features are added to this module, ...
14
votes
9answers
1k views

We're not a software company. Is a complete re-write still a bad idea? [duplicate]

I understand the reasoning behind Joel Spolsky's article "Things You Should Never Do, Part I", but I always see it referenced in regards in situations where the end goal is the production of software. ...
0
votes
2answers
155 views

Should I re-architect client's web app?

I've inherited a project that's accrued, layer upon layer, like a pearl over the last six years. It started out as a web page to let the client check the status of their work in production, and has ...
4
votes
9answers
617 views

One good reason for a rewrite

I have a personal web project I cut my teeth on learning how to program. I wrote it in PHP and learned as I went. I eventually I re-factored it to use MVC and removed all mixing of php/html. Right ...
278
votes
25answers
57k views

When is a BIG Rewrite the answer?

Just read the question about the Big Rewrites and I remembered a question that I've been wanting answered myself. I have a horrible project passed down to me, written in old Java, using Struts 1.0, ...
55
votes
13answers
8k views

Have you ever been involved in a BIG Rewrite? [closed]

Joel Spolsky said in one of his famous posts: The single worst strategic mistake that any software company can make: rewrite the code from scratch. Chad Fowler wrote: You’ve seen the ...