Skip to main content
CS Teaching Tips

Main navigation

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

Encourage students to learn how to read regular expressions to prepare for when they come across them in their careers.

  • Students don’t need to be able to write RegEx from scratch because a lot of professionals don’t.
    • In many languages there are also better alternatives to RegEx (e.g., filter_var in PHP).
  • Reading them and refining your references is enough.
  • Remind students that they’ll always be able to search for answers, which is what professionals do.

More about this tip

External Source

Interview with Leo Newball

Other Tips By
Other Tips By Leo Newball

Similar tips

Have students write a program that constructs an n x n Magic Square in Java so they gain practice working with bounds in 2D arrays.
Use the model of Towers of Hanoi in order to help students understand recursion. To demonstrate Towers of Hanoi, use three baby ring-stacking toys and the programming language Alice.
Provide consistent feedback opportunities from the very first day of the course to assist struggling students early on and prevent them from falling behind.

Similar tips

Gradually increase the grading strictness about styling to help students become more meticulous about naming and documentation.
Start by having students transpose code from one loop type to the other when teaching all the different conditionals for the AP CS A exam.
Provide text descriptions of images and transcripts of videos in your course to ensure that all students can access class materials.

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

Privacy Policy