How Do You Write Programs So Non-Programmers Can Read Them?

The Setup In my final semester at TCNJ, I researched cryptographic hash algorithm with a math major. His programming experience was extremely limited: he had only programmed using Matlab, so he knew what functions and variables were, but that was the extent of his knowledge. In school I was a math minor, so we had [...]

How To Do Well in Programming Competitions

Contests don’t measure real-world programming skills You’re not judged on the best refactoring of your solution, and you’re not judged on indentation and neatness. If your result is very maintainable, there’s a good chance you put too much effort in the wrong place. You just need to get the solution correct, and fast! Whenever you [...]