Wallets are created by professional programmers and in my opinion it cannot be just easily hacked. The only reason for wallets to be hacked is just by revealing your self from phishing sites that are created by hackers.
It's not about the code.
It is about the user. If you safe your private key where hackers can come don't be surprised too see you coins gone some day. My advice is to buy a different pc just for your crypto transactions. No internet, no download but just crypto.