Codeigniter 4 - Naming Convention & Style Guide |
I have to say, I am playing with freshly CI4, and the capitals and use of camelcase are throwing me off big time to even continue learning this; Even the tutorial is not consistent, for example https://codeigniter.com/user_guide/tutor...pages.html --> CI4 uses "Views" but "pages" is all lowercase again;
PHP Code: if ( ! is_file(APPPATH.'/Views/pages/'.$page.'.php')) What is the advantage of having a capital here, except to confuse beginning programmers on a case sensitive system ? Well I guess its the pain you have to take to pick up a new system; but let me complain a bit on this topicĀ |
Messages In This Thread |
Codeigniter 4 - Naming Convention & Style Guide - by myo - 06-01-2020, 02:18 AM
RE: Codeigniter 4 - Naming Convention & Style Guide - by dave friend - 06-01-2020, 08:02 AM
RE: Codeigniter 4 - Naming Convention & Style Guide - by myo - 06-01-2020, 08:28 AM
RE: Codeigniter 4 - Naming Convention & Style Guide - by jreklund - 06-01-2020, 08:47 AM
RE: Codeigniter 4 - Naming Convention & Style Guide - by svennd - 08-25-2020, 07:44 AM
RE: Codeigniter 4 - Naming Convention & Style Guide - by Chroma - 08-27-2020, 04:52 AM
|