Reply to Re: Best Coding Practice

Your name:

Reply:


Posted by Sanders Kaufman on 08/26/07 00:58

Dikkie Dik wrote:
>> No, refactoring is changing the implementation without changing the
>> interface.
>
> Please read the book before you utter nonsense.
>
> Refactoring is changing the _structure_ of the code without changing the
> _behaviour_ of that code. So interface changes can be refactorings.

Actually, refactor is a mathematical principle whose definition doesn't
even *address* the programming world.


> I think you confuse with the Open Closed Principle. The Open Closed
> Principle and refactoring are perpendicular ways to adapt code in a
> _controlled_ fashion: The Open Closed Principle leaves the structure
> intact, while refactoring makes sure the code behaviour remains the same
> while you are restructuring it.

Perpendicular... Open Closed Principle... blecchh.

Might just as well call them the Democrat, Libertarian and Republican
methods - for all the clarity it brings.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация