On examples 1

One thing I’ve learned is, that one of the hardest things to create are examples. Most people do not use examples as what they are, they use it as templates. So examples have side-effects. You write an example to demonstrate how a certain component works or should be used, but you did not follow the coding style of your organization unit. Developers then going to copy your stuff and bang, your errors are repeated again and again. Or, just do it like Yahoo: add a small piece of PHP for demonstration purposes and introduce a huge security problem. Here it is. Lucky for them, they seem not to use the same code in their live example.

Filed on 27-09-2007, 10:10 under , , , , & one comment & no trackbacks


Trackback specific URI for this entry

No Trackbacks


  1. Alex answers:
    published on September 28th 2007, 03:33:13 pm *

    Ah, der alte %00-Trick. ;)


Add a Comment & let me know what you think