Open jgomez720 opened 2 months ago
yeah camel case would be grillHoleCd
armHoleId
but I do really think we need --fix https://github.com/KittyCAD/modeling-app/issues/3186 since then we could auto fix these
To understand why acronyms should not be all caps, consider what happens when you have two acronyms next to each other. JavaScript made this mistake, and since it can never break backward compatibility, the abomination that is XMLHttpRequest
will be part of the language forever. Ideally, there's also an algorithm for splitting words apart, and if it's just a long string of capital letters, as in XMLHTTPRequest
, it couldn't be done easily.
Ahhh yeah, didn't think of that. Good point.
On Fri, Sep 6, 2024 at 9:31 AM Jonathan Tran @.***> wrote:
To understand why acronyms should not be all caps, consider what happens when you have two acronyms next to each other. JavaScript made this mistake, and since it can never break backward compatibility, the abomination that is XMLHttpRequest will be part of the language forever. Ideally, there's also an algorithm for splitting words apart, and if it's just a long string of capital letters, as in XMLHTTPRequest, it couldn't be done easily.
— Reply to this email directly, view it on GitHub https://github.com/KittyCAD/modeling-app/issues/3667#issuecomment-2334421174, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3J57M573MFHKQUSQJJ3AWDZVHKERAVCNFSM6AAAAABNEMMN7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGQZDCMJXGQ . You are receiving this because you authored the thread.Message ID: @.***>
Description
The linter is thinking that vars like
grillHoleCD
are mistakes in formatting. Is this intentional? If I doarmHoleID
for the inner diameter of something, is that bad? I feel like that should be accepted.Version
v0.24.13
Screenshot
KCL