“Of course, the test difficulty depends on what you're doing, and on how you're doing it. I'm constantly asking "How much would I have to screw this up to write an incorrect function that passes these simple tests?" Occasionally the answer is "Not much," so I'll throw the code away and start over. It was probably perfect code, but that's not good enough.”

http://groups-beta.google.com/groups?selm=slrncvp1eg.170p.usenet@stoneport.math.uic.edu
On testing

Adopted from Wikiquote. Last update June 3, 2021. History

Help us to complete the source, original and additional information

Do you have more details about the quote "Of course, the test difficulty depends on what you're doing, and on how you're doing it. I'm constantly asking "How muc…" by Daniel J. Bernstein?
Daniel J. Bernstein photo
Daniel J. Bernstein 4
American mathematician, cryptologist and programmer 1971

Related quotes

Ernest Hemingway photo
Neal Shusterman 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 (1953) American software freedom activist, short story writer and computer programmer, founder of the GNU project

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)]
2010s

Carole King photo
Ryan C. Gordon photo

“I find if you're targeting Windows, Linux, and Mac OS X right from the start, your code will probably work anywhere else that you might try it later… Writing code that is cross-platform from the start requires more discipline, but I find it is worth the effort.”

Ryan C. Gordon (1978) Computer programmer

Quoted in Luboš Doležel, "Interview: Ryan C. Gordon" http://www.abclinuxu.cz/clanky/rozhovor-ryan-c.-gordon-icculus?page=1 AbcLinuxu.cz (2011-03-08)

“And so, what we've done all of these years is very simple, is use the little tool, which is ask three whys in a row. Because the first why you always have a good answer for. The second why, it starts getting difficult. By the third why, you don't really know why you're doing what you're doing.”

Ricardo Semler (1959) Brazilian businessman

TED: "How to run a company with (almost) no rules" https://www.ted.com/talks/ricardo_semler_how_to_run_a_company_with_almost_no_rules/ (October 2014)

Rick Riordan photo
Pink (singer) photo

“I'm safe,
Up high.
Nothing can touch me.
But why do I feel this party's over?
No pain,
Inside.
You're like protection.
How do I feel this good sober?”

Pink (singer) (1979) American singer-songwriter

Sober, written by Pink, Nate Hills, Kara DioGuardi, and Marcella Araica
Song lyrics, Funhouse (2008)

Related topics