Welcome Guest, Not a member yet? Register   Sign In
[split] Uc-not-first suggestiion
#9

@mtvee has a point. Generally speaking, breaking BC is not good. And I don't see enough reason to drop non-capitalized files.

Having 2 files with the same name is not enough reason. Because it is okay that we have a priority rule.
For example, if there is `Welcome.php`, CI chooses it. If there is not, CI searches for `welcome.php`.

But personally, I like that the file name and case matches that of the class it holds.
So I'm satisfied with the current implementation.

When you have a lot of files, it is not hard to change the filenames. I wrote a tool.
https://github.com/kenjis/codeigniter3-filename-checker
But if I had 1000 file running site, and it does not have enough test code, I would not be happy.
Reply


Messages In This Thread
[split] Uc-not-first suggestiion - by mtvee - 02-21-2016, 12:37 PM
RE: [split] Uc-not-first suggestiion - by sv3tli0 - 02-22-2016, 07:05 AM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 09:11 AM
RE: [split] Uc-not-first suggestiion - by sv3tli0 - 02-22-2016, 11:51 AM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 12:32 PM
RE: [split] Uc-not-first suggestiion - by Narf - 02-22-2016, 02:48 PM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 02:59 PM
RE: [split] Uc-not-first suggestiion - by Narf - 02-22-2016, 03:43 PM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 03:59 PM
RE: [split] Uc-not-first suggestiion - by kenjis - 02-22-2016, 03:15 PM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 04:05 PM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-22-2016, 03:55 PM
RE: [split] Uc-not-first suggestiion - by mtvee - 02-23-2016, 10:15 AM
RE: [split] Uc-not-first suggestiion - by Narf - 02-23-2016, 10:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB