Welcome Guest, Not a member yet? Register   Sign In
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Ā  Tongue

Messages In This Thread
RE: Codeigniter 4 - Naming Convention & Style Guide - by svennd - 08-25-2020, 07:44 AM

Theme © iAndrew 2016 - Forum software by © MyBB