devilish666@lemmy.world to Programmer Humor@programming.dev · 1 年前codeStylelemmy.worldimagemessage-square9fedilinkarrow-up1174arrow-down125
arrow-up1149arrow-down1imagecodeStylelemmy.worlddevilish666@lemmy.world to Programmer Humor@programming.dev · 1 年前message-square9fedilink
minus-squaremox@lemmy.sdf.orglinkfedilinkarrow-up35arrow-down2·edit-21 年前One advantage of snake case is never having to remember which letters of every acronym or compound word each author decided to capitalize.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkarrow-up20·1 年前I just like to treat acronyms/initialisms as normal words. sendHttpRequest, etc.
minus-squareGhoelian@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6arrow-down3·1 年前You already don’t have to do that. That’s what IDE’s have autocomplete for.
minus-squaremox@lemmy.sdf.orglinkfedilinkarrow-up9arrow-down1·1 年前That viewpoint makes bold assumptions about language, toolset, and preference. It also suggests sweeping the dirt under the rug instead of not having it on the floor in the first place.
One advantage of snake case is never having to remember which letters of every acronym or compound word each author decided to capitalize.
I just like to treat acronyms/initialisms as normal words.
sendHttpRequest
, etc.This is the way.
You already don’t have to do that. That’s what IDE’s have autocomplete for.
That viewpoint makes bold assumptions about language, toolset, and preference.
It also suggests sweeping the dirt under the rug instead of not having it on the floor in the first place.