At university and several online searches (Difference between latch and flip-flop) I have been taught that the difference between a latch and a flip flop is that the latch is level triggered while the flip flop is edge triggered.
However, when examining the datasheet of the 74HC595 (8 bit shift register with output latches: https://www.arduino.cc/en/uploads/Tutorial/595datasheet.pdf) I have read that they name the registers forming the shift register Flip Flops and the registers forming the output register latches (SHCP is Shift Clock and STCP is Storage Clock):
However, when observing the function table, both are triggered on rising-edge.
Even the timing diagram portrays the latch as edge-triggered:
What is the difference between a latch and a flip flop then?