Learning the language of coding and programming is really about learning to solve problems. And, like a lot of complex problems, it sometimes helps to look at things a little differently. Follow along with the example below.
A large part of learning to write computer code is figuring out why your code doesn’t work the way you expect. Breaking up your code and laying it out on Post-it® Products can help you see it more clearly, so you can figure out where coding errors are.
Start with your code compiler open on your computer, so you can see the program that’s not compiling correctly.
Next to your computer, write the code out on Post-it® Super Sticky Notes and Post-it® Page Markers and lay it out so you can see it clearly. Use blue for any essential or static parts of the code, and then use one color for each method or function. Use a new Post-it® Super Sticky Note or Post-it® Page Marker color after each bracket.
Writing the code on Post-it® Products and laying it out visually can make it easier to see coding errors. Once you see the errors, move any lines of code that are out of order to the correct place in your Post-it® Super Sticky Notes layout.
Now move the lines of code in the compiler so they are in the correct order. When you type your code into the compiler and it doesn’t work, you’ll have any easy visual tool you can use to help solve the problem.