-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Its always hard to convince you with something that is better only because it looks better without adding any functionality or performance, but you should follow some naming convention when creating new files.
Usually all files in the controllers start with the type of the request (i.e. GET, POST, PUT, DELETE, ...etc). And all the files in the database queries start with the action performed by this query (i.e. SELECT, INSERT, DELETE ...etc).
As I said it doesn't add functionality, nor performance, but it adds a lot more readability to your code, as I'll know the main purpose of the file before I even open it.
Metadata
Metadata
Assignees
Labels
No labels