• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Code refactoring looks like this

 
Ranch Hand
Posts: 405
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't get it
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Cooke wrote:I don't get it



You dip your toe in, fool a around a little, then you're trapped. That's exactly what refactoring looks like to me, but it may be because we're in the middle of rewriting our flagship application and things are, um, a bit more interesting than anyone planned for...
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ess wrote:
You dip your toe in, fool a around a little, then you're trapped. That's exactly what refactoring looks like to me, but it may be because we're in the middle of rewriting our flagship application and things are, um, a bit more interesting than anyone planned for...




IMO, refactoring is always about small changes -- and those changes don't change any functionality. So, "rewriting a flagship application" isn't refactoring...

So, back to the youtube video... I dip my toe in, fool around a little, then I'm trapped .... and .... I roll everything back via CVS (no panic here).

Henry
 
Tim Cooke
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That certainly doesn't sound like refactoring to me. But I get the joke.

Perhaps the tagline should be "Major rewrite from scratch". That would be much more terrifying.
 
reply
    Bookmark Topic Watch Topic
  • New Topic