Bug: Developers are not following their own standards |
[eluser]victorche[/eluser]
Quote from the Codeigniter's userguide: Quote:Use of || is discouraged as its clarity on some output devices is low (looking like the number 11 for instance). && is preferred over AND but either are acceptable, and a space should always precede and follow !.A recent commit on GitHub (from ericbarnes, CI developer): Quote:elseif ( ! $this->cur_page AND $CI->uri->segment($this->uri_segment) != $base_page)And here is an interesting comment on GitHub by philsturgeon (another CI developer) also... Quote:Style Guide says it prefers AND over && generally. The question: Why you're creating rules and standards, when you're not following them?!? The result: It is bad for the community, the followers and the developers itself... |
Messages In This Thread |
Bug: Developers are not following their own standards - by El Forum - 01-04-2012, 02:51 PM
Bug: Developers are not following their own standards - by El Forum - 11-09-2012, 08:06 AM
Bug: Developers are not following their own standards - by El Forum - 11-09-2012, 08:28 AM
|