Competitive/Collaborative Programming Class

ICPC Computer Programming Contest Prep

Problem Solving in Computer Science

Spring 2020 -- CSC 2700 Section 01 (Patrick Taylor 1218, 6:30 PM - 8:20 PM)

Class over for the semester!

Know the rules well, so you can break them effectively
--Dalai Lama XIV
...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
The big optimizations come from refining the high-level design, not the individual routines.
--Steve McConnell
There is nothing good or bad about knowledge itself; morality lies in the application of knowledge.
--Jon Erickson
It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?
--Alan J. Perlis
Without requirements and design, programming is the art of adding bugs to an empty text file.
--Louis Srygley
What kind of programmer is so divorced from reality that she thinks she'll get complex software right the first time?
--James Alan Gardner
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
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
I'm not a great programmer; I'm just a good programmer with great habits.
--Kent Beck
The issue of finding the best possible answer or achieving maximum efficiency usually arises in industry only after serious performance or legal troubles.
--Steven S. Skiena
The most important property of a program is whether it accomplishes the intention of its user.
--C.A.R. Hoare
Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.
--Paul Graham
Simple things should be simple, complex things should be possible.
--Alan Kay
[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
Perl – The only language that looks the same before and after RSA encryption.
--Keith Bostic
The most difficult thing in the world is to know how to do a thing and to watch someone else do it wrong without comment.
--Theodore H. White
Happiness should be a function without any parameters.
--Pranshu Midha
Think twice, code once.
--Waseem Latif
Walking on water and developing software from a specification are easy if both are frozen.
--Edward V. Berard
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
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
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
A language that doesn't affect the way you think about programming is not worth knowing.
--Unix Fortune
Everyday life is like programming, I guess. If you love something you can put beauty into it.
--Donald Knuth
How do you expect to succeed if you do not know the rules?
--Anonymous
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