Re: Sometimes I wonder why I even started programming...
| From: | Nathan Rixham | Date: | Thu, 28 Feb 2008 18:39:08 +0000 |
| Subject: | Re: Sometimes I wonder why I even started programming... | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270618@lists.php.net to get a copy of this message | ||
Eric Butera wrote:
On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown <parasane@gmail.com> wrote:Eric, You do make a valid point about people copy and pasting code, and that we should all take a bit more care; however we also have to remember that not all posts are going to "newbies", when a solid software engineer posts a short query on here, I'm sure they don't expect a fully santised application back, when a short snippet of code would more than suffice. One thing I don't understand, why did you go all out and personal on Dan? I'm not even going to go into it, you were bang out of order order and you owe the man an apology; no need to explain what you meant, we all got it the first time. Further, if you felt the need to challenge somebody or give them advice why do it public? Hell I'm not even involved and that kind of ill-mannered post even managed to put me in a bad mood.On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera <eric.butera@gmail.com> wrote:And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :)All my point is that I've been on this list for a while. I've posted code and watched people just copy and paste it. I've watched other people copy and paste their examples. I used to say sanitize your data and watch the same exact thing in their new function coming back at me without any sanity checks whatsoever. So my point is that people don't know how to do it. If you decide to help people out with their issues you need to also help them understand how to filter/escape their data. Otherwise keep in mind those people are going to copy your code with the comment saying sanitize it, and it isn't going to be escaped. Maybe that is okay with you but I see that as a problem. I know Jason said he is doing it elsewhere, but that is the rare case.Heh. It is a bad visual, isn't it? ;-P-- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?>