Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
azuredivay1088353dif(){
}
is a code word for devs with small dicks 😪
only big-dick devs use
if()
{
} -
SidTheITGuy9595353d@azuredivay hahahahahaha bro that was funny bro. Now go fuck yourself bro, you deserve it bro.
-
Lensflare17152353dIt’s a preference and the default style depends on the language.
Personally I don’t really care too much as long as it’s consistent within the project. -
MammaNeedHummus4449353dSorry I'm out here dealing with real software problems, come back to me when it's actually causing an issue
-
IHateForALiving2806353dMy brother in Christ, I'm sure you can find something more meaningful to die inside.
-
AlgoRythm50920353dThis is compulsory for C# devs.
For c++ it's optional
For JavaScript / TypeScript it's fucking mutiny on the high seas -
Lensflare17152353d@AndroidJester speaking of C# devs, how about we capitalize MethodNames(), PropertyNames, ConstantNames and AnythingElse as well? 😂
-
KDSBest775353dI do the first and there is a reason for that:
A) MS Coding Standard for C#
B) Autoformatting VS
C) Clients Coding standard
D) Selecting a } marks the { and it has to be in the same indentation
E) I actually don't give a f*** about it but I want it consistent -
lorentz15268353d@KDSBest With 1tbs the formatter emphasizes this error by breaking the opening brace into a new line. With Allman, even after autoformatting the only difference between the correct and faulty code is the presence or absence of the semi.
-
KDSBest775353d@lorentz both scenarios my compiler throws a warning so I don't care about auto formater.
-
alturnativ655340d++ what others have said, it doesn't matter in the slightest as long as it's consistent within the project.
Now, when you're dealing with multiple projects, and each uses the other style... 😭😭
Related Rants
there is a dev in our company who actually does this:
if()
{
}
and not this:
if(){
}
This is unreal.
rant
dying inside