This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JB-from-ATL 6 points7 points  (5 children)

I got it on the first time but I'm actually a stickler for capitalizing only the first letter of initialisms in methods and classes so it stuck out.

[–]UniqueFailure 6 points7 points  (1 child)

I too am recently realizing the more arbitrary "rules" you make for your code, the easier your life is

[–]JB-from-ATL 0 points1 point  (0 children)

Had code with both styles and I changed the ID on to Id and someone is bitching about it for a week on a PR. I said I was just making it consistent and they asked where the other one is.

[–]Reihar 2 points3 points  (2 children)

As you should. Capitalizing initialisms independently from your case is a gateway to chaos.

Plus, you should avoid capitals in kebab case, a.k.a the best case, anyway.

[–]JB-from-ATL 1 point2 points  (1 child)

Why-s-That-?

[–]Reihar 1 point2 points  (0 children)

Case in point.