If you get hacked than its your own fault. If you play smart and don't do anything stupid, you can avoid getting hacked and lose your money.
Exchanges do/can get hacked. So that is why everyone recommends not to store your coins on an exchange for a long time. And also always choose a very trusted exchange when trading coins.
Theres no such trusted exchange yet all of them do really have the possibilities on getting hacked.Theres no assurance anytime since anything on this online space do really have hackers which can penetrate security and this is why as a trader or investor we should think off on these possibilities and only store up few amounts of coins on various exchange. Better to be wary than sorry.
Obviously, and that is the reason it has been reiterated so many times on this exchange that no one should ever put their funds in an exchange as long as they are not trading and even if they are trading they should take security very seriously and not put what they cannot afford to lose.
There is really no assurance, but I am sure we are getting there, and it will also take each individual to start taking security of their funds seriously by making use of all the available security to secure their funds.