„When you find you have to add a feature to a program, and the program's code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, then add the feature.“

—  Martin Fowler, p. 7

Citações relacionadas

Kent Beck photo
Ward Cunningham photo

„Putting a new feature into a program is important, but refactoring so new features can be added in the future is equally important.“

—  Ward Cunningham American computer programmer who developed the first wiki 1949
Context: Putting a new feature into a program is important, but refactoring so new features can be added in the future is equally important. The ability to do things in the future is something that I consider suppleness, like clay your hands that accepts your expression. Programs and documents get brittle very quickly. Wiki imagines a more dynamic environment where we accept change...

Bill Gates photo
Bill Gates photo
John Moffat (physicist) photo
Nelson Mandela photo
Larry Wall photo
Larry Wall photo
Richard Stallman photo

„You see, some people have a talent for programming. At ten to thirteen years old, typically, they're fascinated, and if they use a program, they want to know: “How does it do this?” But when they ask the teacher, if it's proprietary, the teacher has to say: “I'm sorry, it's a secret, we can't find out.” Which means education is forbidden. A proprietary program is the enemy of the spirit of education. It's knowledge withheld, so it should not be tolerated in a school, even though there may be plenty of people in the school who don't care about programming, don't want to learn this. Still, because it's the enemy of the spirit of education, it shouldn't be there in the school.
But if the program is free, the teacher can explain what he knows, and then give out copies of the source code, saying: “Read it and you'll understand everything.” And those who are really fascinated, they will read it! And this gives them an opportunity to start to learn how to be good programmers.
To learn to be a good programmer, you'll need to recognize that certain ways of writing code, even if they make sense to you and they are correct, they're not good because other people will have trouble understanding them. Good code is clear code that others will have an easy time working on when they need to make further changes.
How do you learn to write good clear code? You do it by reading lots of code, and writing lots of code. Well, only free software offers the chance to read the code of large programs that we really use. And then you have to write lots of code, which means you have to write changes in large programs.
How do you learn to write good code for the large programs? You have to start small, which does not mean small program, oh no! The challenges of the code for large programs don't even begin to appear in small programs. So the way you start small at writing code for large programs is by writing small changes in large programs. And only free software gives you the chance to do that.“

—  Richard Stallman American software freedom activist, short story writer and computer programmer, founder of the GNU project 1953
A Free Digital Society - What Makes Digital Inclusion Good or Bad? http://www.gnu.org/philosophy/free-digital-society.html#education; Lecture at Sciences Po in Paris (19 October 2011)]

Bjarne Stroustrup photo
Frank Zappa photo
Donald J. Trump photo

„I have featured and will always continue to feature my name prominently in all my enterprises.“

—  Donald J. Trump 45th President of the United States of America 1946
Business Week (22 July 1985)

Albert Einstein photo
Johnny Depp photo

„The ultimate for me would be to do a feature that didn't require any narrative structure.“

—  Johnny Depp American actor, film producer, and musician 1963
Quoted in Ron Dicker, "Going deep with rebel Johnny Depp," Baltimore Sun (2003-07-08)

Lester del Rey photo