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

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.
Draw a digital 8 on the board to introduce an activity that uses the seven segment display to show how any information can be encoded into functions.
Have students write many small, simple classes in Java to scaffold their learning of the basics of object-oriented programming.

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