Competitive/Collaborative Programming Class

ICPC Computer Programming Contest Prep

Problem Solving in Computer Science

Fall 2021 -- CSC 2700 Section 01 (1206 Patrick Taylor, 6:00 PM - 7:50 PM)

The big optimizations come from refining the high-level design, not the individual routines.
--Steve McConnell
First solve the problem. Then, write the code.
--Waseem Latif
College is a waystation - the last convenience store on the road to life-long responsibility.
--Dennis Miller
There is nothing good or bad about knowledge itself; morality lies in the application of knowledge.
--Jon Erickson
How do you expect to succeed if you do not know the rules?
--Anonymous
What kind of programmer is so divorced from reality that she thinks she'll get complex software right the first time?
--James Alan Gardner
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
--Nartin Fowler
But while you can always write 'spaghetti code' in a procedural language, object-oriented languages used poorly can add meatballs to your spaghetti.
--Andrew Hunt
Twenty hours at the keyboard can save you two hours of planning.
--Isaac Traxler
Happiness should be a function without any parameters.
--Pranshu Midha
'Martyrdom' is the only way a person can become famous without ability.
--George Bernard Shaw
Everyday life is like programming, I guess. If you love something you can put beauty into it.
--Donald Knuth
Managers of programming projects aren’t always aware that certain programming issues are matters of religion. If you’re a manager and you try to require compliance with certain programming practices, you’re inviting your programmers’ ire. Here’s a list of religious issues:
■ Programming language
■ Indentation style
■ Placing of braces
■ Choice of IDE
■ Commenting style
■ Efficiency vs. readability tradeoffs
■ Choice of methodology—for example, Scrum vs. Extreme Programming vs. evolutionary delivery ■ Programming utilities
■ Naming conventions
■ Use of gotos
■ Use of global variables
■ Measurements, especially productivity measures such as lines of code per day
--Steve McConnell
Think twice, code once.
--Waseem Latif
The really good programmers spend a lot of time programming. I haven’t seen very good programmers who don’t spend a lot of time programming. If I don’t program for two or three days, I need to do it. And you get better at it—you get quicker at it. The side effect of writing all this other stuff is that when you get to doing ordinary problems, you can do them very quickly.
--Joe Armstrong
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live
--John Woods
...I’m not saying simple code takes less time to write. You’d think it would since you end up with less total code, but a good solution isn’t an accretion of code, it’s a distillation of it.
--Robert Nystrom
You are not reading this book because a teacher assigned it to you, you are reading it because you have a desire to learn, and wanting to learn is the biggest advantage you can have.
--Cory Althoff
How do you expect to succeed if you do not know the rules?
--Anonymous
It's got to be the going not the getting there that's good.
--Hary Chapin
[On identifying talented programmers] It’s just enthusiasm. You ask them what’s the most interesting program they worked on. And then you get them to describe it and its algorithms and what’s going on. If they can’t withstand my questioning on their program, then they’re not good. I’m asking them to describe something they’ve done that they’ve spent blood on. I’ve never met anybody who really did spend blood on something who wasn’t eager to describe what they’ve done and how they did it and why. I let them pick the subject. I don’t pick the subject, so I’m the amateur and they’re the professional in this subject. If they can’t stand an amateur asking them questions about their profession, then they don’t belong.
--Ken Thompson
If the steps become to big, they become walls...
--Herb Sutter
Einstein repeatedly argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.
--Frederick P. Brooks Jr.
A language that doesn't affect the way you think about programming is not worth knowing.
--Alan Perlis
When they first built the University of California at Irvine they just put the buildings in. They did not put any sidewalks, they just planted grass. The next year, they came back and put the sidewalks where the trails were in the grass. Perl is just that kind of language. It is not designed from first principles. Perl is those sidewalks in the grass.
--Larry Wall
With software there are only two possibilites: either the users control the programme or the programme controls the users. If the programme controls the users, and the developer controls the programme, then the programme is an instrument of unjust power.
--Richard Stallman
I'm a programmer. I like programming. And the best way I've found to have a positive impact on code is to write it.
--Robert C. Martin
What is a university/college when the students lose interest?
--Isaac Traxler
The most disastrous thing that you can ever learn is your first programming language.
--Alan Kay
Learn the rules like a pro, so you can break them like an artist
--Pablo Picasso
One knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?
--Brian Kernighan
There ain't no rules around here. We are trying to accomplish something.
--Thomas Edison
A language that doesn't affect the way you think about programming is not worth knowing.
--Unix Fortune
Some of the best programming is done on paper, really. Putting it into the computer is just a minor detail.
--Max Kanat-Alexander
The best way to predict the future is to invent it
--Alan Kay
Not only is this incomprehensible, but the ink is ugly and the paper is from the wrong kind of tree.
--Professor W.
Our consciousness is programmed. We see things a certain way from a young age - we're programmed to keep doing them that way. Then you have to spend adulthood learning how to overcome it, to read out the programs. Try to create. I want to tell people to create. Just start by creating your day. Then create your life.
--Prince
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
--Martin Fowler
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
--Rick Cook
Along every step of our journey through life, our mind is being programmed. If we are not programming it ourselves, someone else is doing it to us.
--Joseph Rain
Simple things should be simple, complex things should be possible.
--Alan Kay
So if an algorithm is an idealized recipe, a program is the detailed set of instructions for a cooking robot preparing a month of meals for an army while under enemy attack
--Kernighan Brian
Without requirements and design, programming is the art of adding bugs to an empty text file.
--Louis Srygley