[Vtigercrm-developers] <RANT>When coding do not turn off warnings!</RANT>

Hamono, Chris (DPC) Chris.Hamono at sa.gov.au
Thu May 14 01:02:44 GMT 2015


A note to developers, vtiger, yetiforce or otherwise.

If you must recommend turning off php warnings in your code. You are doing it wrong!

I cannot make this point strongly enough.

There is a reason all compilers and interpreters spit out massive amounts of warnings. It's because these warnings indicate where your code is SLOPPY.

By ignoring those warnings you are potentially coding security risks and buggy code. uninitialized variables are the most common source of warnings and also the most common source of bugs.

So if you tell users they must turn off warnings it's a sign that the code is poorly written.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150514/bb9050a1/attachment.html>


More information about the vtigercrm-developers mailing list