How do I teach myself to care more about writing efficient code? Coming from math I am happy if it simply always works and if you can read it and know why. But I would like to set a better example for my students. Unlike the math profs who taught me.

Dead simple but more theoretical things like search optimization might be a place to start?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://sauropods.win/users/futurebird/statuses/114637917360306828 on your instance and quote it. (Note that quoting is not supported in Mastodon.)