S/PDIF TOSLINK fiberoptic is actually a very horrible cable. The reason is that the LED or light generating source just cannot light up fast enough to transmit the digital square waves properly. It comes across as a very squirly looking wave (not square at all). The result is lost resolution and information - possible problems from signal reflections, ability for target to properly read in the light signals, etc.
Regular S/PDIF COAX digital cable is actually not a bad system, though using BNC connectors is best. Only a true i2s digital connection is better because the DAC/source does not have to encode the stereo digital signals into a single wire signal. That is the S/PDIF method.
Keep in mind that i2s connections will typically use an HDMI cable. This does not mean it’s an HDMI interface. It just uses the cable/connectors as the physical medium for transmitting the i2s signals (which are completely different from normal HDMI audio/video).