Quantcast
Channel: Nusuni » Programming
Viewing all articles
Browse latest Browse all 10

Use Lowercases For All Files

$
0
0

Standards are what keep everyone in line, and in sync. Without them your organization will be like a headless chicken…. running around without any idea what it is doing. Unfortunately, many PHP-specific standards are too addicted to what I like to call: mixed caps madness. Some ignorant fool in front of his computer decided this would be a good idea:

/vendor/joe/cms/Hello/World.php

Can someone explain to me how that makes sense? After nearly 10 years of PHP development I still cannot figure it out. All I see is an oncoming headache caused by the mixed cases. Most PHP-friendly servers are Linux based, and use case-sensitive file systems. As a result this can cause a lot, and I do mean a lot, of headaches. It makes far more sense to keep all files the same… lowercase. The number of times I have encountered issues due to mixed-case standards is ridiculous.

For the love of all that is binary, let’s put an end to this mixed-case bullshit and keep all source files lowercase.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images