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!

Without requirements and design, programming is the art of adding bugs to an empty text file.
--Louis Srygley
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
Learn the rules like a pro, so you can break them like an artist
--Pablo Picasso
The big optimizations come from refining the high-level design, not the individual routines.
--Steve McConnell
People who are really serious about software should make their own hardware
--Alan Kay
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live
--John Woods
Think twice, code once.
--Waseem Latif
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
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
Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.
--Paul Graham
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 in doubt, do something.
--Harry Chapin
A language that doesn't affect the way you think about programming is not worth knowing.
--Alan Perlis