Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
you mean camelCase and makeDNA
Yeah you are talking about PascalCase. And I prefer all acronyms to be the same casing.
@hausen that hurts me.
I get your point, but I disagree. I really hate it when acronyms get written like normal words. Just like things not being perfectly aligned on a table.
OK. This looks quite subjective.
Meta34196yI sometimes catch myself varying in style when it's about acronyms like URL and ID; I kinda force myself to type them out in all caps but sometimes said problem occurs and I start considering putting it in proper camelCase instead ...
It's not easy and yeah, pretty subjective.
But I just hate the look of method names like "getId" or "toUrl".
... that's everything I have to add 😂
If you use CamelCase, please don't write acronyms in all caps like MakeDNA, it breaks the harmony and confuses punctuation. Instead do MakeDna.