> Same goes for the limited number of shots on a roll of film.
You can approximate the same limitation on digital cameras by simply using a very small SD card.
Approximate, sure, although you can still go back and delete photos from a small SD card, whereas film's more of a consumable resource.
Or put a large file on a regular size SD card.