ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Rewrite (programming) - Wikipedia, the free encyclopedia

Rewrite (programming)

From Wikipedia, the free encyclopedia

A rewrite in computer programming is the act or result of re-implementing a large portion of existing functionality without re-use of its source code. When the rewrite is not using existing code at all, it is common to speak of a rewrite from scratch. When instead only parts are re-engineered, which have otherwise become complicated to handle or extend, then it is more exact to speak of code refactoring.

Contents

[edit] Motivation

  1. When the source code to be able to extend an existing program is not available.
  2. When the source code is available under an incompatible license.
  3. When the code cannot be adapted to a new target platform.
  4. When the existing code has become too difficult to handle and extend.
  5. When the task of debugging the existing code seems too complicated.
  6. When the programmer finds it difficult to understand the source code.

[edit] Controversy

Many prominent software developers warn that this technique rarely leads to the intended success, claiming that rewriting is more fun than debugging, but the rewrite requires more time and will have new bugs.[1][2]

Advocates of this method instead suggest that with every iteration of the rewrite process an even better version is created, provided the same programmers do the job that already wrote the earlier versions.[3][4] They may be intending code refactoring however.

[edit] History

Both Borland's Paradox for Windows and Quattro Pro for Windows started development using beta versions of Windows 3.0, in the spring of 1990. Paradox/Windows ended up delayed about a year beyond its original plan, shipping in early 1993.

The reasons were many, but not entirely surprising for a major rewrite, in an object-oriented programming language with new tools, shifting to a GUI paradigm, on what was essentially a first version operating system. Still it was a big problem for the company and Microsoft managed to ship Access a couple of months ahead of Paradox for Windows, a major marketing win to Microsoft.[5]

It took IBM two years to rewrite OS/2 for PowerPC, and by the time the operating system was ready, the market for OS/2 on PowerPC had evaporated.[6]

Netscape's rewrite of its browser is popularly considered one of the most dramatic strategic mistakes in the history of the Internet.[7][8]

[edit] References

  1. ^ Joost Ronkes Agerbeek: Never Rewrite Code From Scratch
  2. ^ Jamie Zawinski: Cascade of Attention-Deficit Teenagers
  3. ^ tilly of perlmonks: Rewriting, from scratch, a huge code base
  4. ^ Vorlath: Code Rewrite - Yes
  5. ^ Borland's Paradox
  6. ^ OS/2 on PowerPC
  7. ^ Joel Spolsky: Things You Should Never Do
  8. ^ Jamie Zawinski: resignation and postmortem

[edit] See also

Some projects mentioning major rewrites in their history:

[edit] External links


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -