Poly Network Hack - $600M theft😱💰

Cause of Poly Network Hack :face_with_monocle: :face_with_monocle:

Largest crypto hack in defi till now.

I got to know that it was due to poor coding.
Does anyone know the actual reason of the hack?