Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Ensure loops and conditionals are consistently formatted.

  • This will help students to understand the basics of each loop and conditional statement.
  • It will also help students avoid unnecessary refactoring of code later on.

More about this tip

Tags

  • Programming Concepts
External Source

“The ugliest beautiful line of code” (blog post) by Neil Brown

Other Tips By
Other Tips By Neil Brown

Similar tips

Assume the role of a confused student and ask your students questions, prompting them to answer your questions in order to further their understanding of the material.
Give students an accurate sense of their own understanding by requiring them to revise and elaborate answers or work that are nearly—but not entirely—correct.
Use discipline policies based on principles of nonviolence and restorative justice and investigate how discipline policies are doled out.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy