devuxd / ProgrammingStrategies

A repository of strategies for programming
http://programmingstrategies.org
1 stars 0 forks source link

Strategy Tracker Infinite Loop #40

Open rishinpandit opened 6 years ago

rishinpandit commented 6 years ago

When I created this partial strategy it caused the site to freeze. I'm fairly sure it's because there's no space before the comments after the IF statement

Finding examples of code can be helpful in making your program.

#

This strategy will teach you approaches for identifying, evaluating, and adapting code examples.

STRATEGY reuse()

comment

SET 'behavior' TO the behavior youd like 'program' to exhibit describing it as specifically as possible
IF you think you know how to implement 'behavior'
    #Write the code for 'behavior'
    #Run 'program' to test if it exhibits 'behavior' as you expect
    #Mark this task as finished