News for hackers. Stuff that matters.
Re:A small guide for naming stuff in front-end code by paceaux on Thursday January 13, 2022 @12:13PM (#29923411)
When I wrote the guidelines, it really was all about, "be consistent". camelCase is my preference, but really, go with what makes sense and is least disruptive.

I actually REALLY like SuitCSS' recommendation and I definitely wouldn't object to it.

I intentionally didn't address project architecture (folder names, file names) because ... to be honest... I still haven't quite figured that out.

But I'm going to think on it and maybe add something to the guidelines that echos your suggestion.

There are no comments on this comment yet.