Here is a collection of tips for golfing in various languages. I will add to this page over time. My intention is to create a list of commonly used tricks. Each example isĀ with links to examples of winning solutions that use these tricks to show how they are used in practice. It should be useful for a golfer to learn new tricks. It may also be useful for a beginner. Python Postscript Ruby PHP |