Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ikrtx
· 7y ago · 0 comments
This is written as if it was some kind of lesson on philosophy. Why were you even using uppercase letters in your file names to begin with?
Comments
[–]
paulbjensen
7y ago
I was applying a pattern of naming the files containing ORM Models with a capital, in order to represent that they contained a javascript class as their default export.
e.g.
class Admin extends Model { }; export default Admin;