3 ms·
I'm pretty sure that there is still quite some bad code out there that I posted to code-snippet websites when I was ~13 :/ So here's some advice I wish someone
by thefr0g 5y ago
I'm pretty sure that there is still quite some bad code out there that I posted to code-snippet websites when I was ~13 :/
So here's some advice I wish someone had given me back then:
Please try to at least read and understand OWASP top ten security risks¹ before writing applications that anyone actually uses. Also please be aware that you can write insecure code in any general purpose language. Most of the bad PHP code is around because it was a popular language with hobbyists, similiar to Javascript and Python today. Languages might be better (or worse) in certain aspects but they still can't protect you from bugs in your programs logic. Only diligent planning, understanding of best practises and proper communication can help prevent those.
¹ https://owasp.org/www-project-top-ten/ https://owasp.org/www-project-top-ten/