NYCPHP Meetup

NYPHP.org

[nycphp-talk] naming identifiers

Andy Dirnberger dirn at dirnonline.com
Mon Aug 31 00:36:45 EDT 2009


On Mon, Aug 31, 2009 at 12:28 AM, Daniel Convissor
<danielc at analysisandsolutions.com> wrote:
>
> On Sun, Aug 30, 2009 at 10:37:33AM -0400, Andy Dirnberger wrote:
> >
> > If you are
> > afraid that you might use a reserved keyword for a field name, use the
> > ` delimiters around the name of the field in your queries.
>
> Which is exactly what started this subthread.  Delimiting identifiers is
> a bad practice that creates way more headaches than it solves.  Of
> course, feel free to stick to it.  I'll just pray I never get called in
> to clean up your code.
>
> --Dan
>

I'll pray that, too, because you'd be the first.



More information about the talk mailing list