3 ms·
a few years ago a graphic designer asked me for some help using PHP to query a database. I wrote a little thing that worked, and then said, "oh wait, this coul
by tocomment 14y ago
a few years ago a graphic designer asked me for some help using PHP to query a database.
I wrote a little thing that worked, and then said, "oh wait, this could be a problem with SQL injection, here's how you fix that".
And his response was "umm can you just send me the first thing you wrote".
- deleted 14y ago[deleted]
- dguaraglia 14y agoI completely agree with you. The problem with PHP (besides the myriad warts of the language and libraries) is the average kind of programmers that use it: 0 code reuse, lots of cut & paste, insecure-by-design philosophy and the culture of 'immediate results': if there's an error fix it fix it for the current page so that the next time you refresh it'll be gone; then fix it on the other pages later. Rinse, repeat.