If the concern is preservation within your own lifetime, either is fine - you just need to be committed to periodic migration of your digital files to new storage media.
If the concern is about pictures being accessible once you are gone, neither is much good. It's likely that no one will either know about or have the patience to worry about active maintenance of your digital files, but by the same token, hardly anybody will have any idea what to do with negatives.
If you want your pictures to be accessible after you are gone, you need to pick the ones that you think matter, make prints of them using reasonably durable materials, and store them in some reasonably orderly way. That's no guarantee they will be saved, but it at least allows for the possibility of someone coming across your shoebox / album / portfolio case and being able to see what you wanted them to see.
Sure, transparencies are arguably an alternative, color stability aside. But hardly any new pictures are being recorded that way, and most transparencies are in 35mm or small 120 roll film size, forcing people to find a magnifier or to fuss in more elaborate ways to be able to view them clearly. (If you're making large format transparencies, more power to you! 🙂)