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
-
@TktStatusPICNIC lol this is a really awful example of what my style is because i dont actually use it for main. But typically my function defs look like this:
```
INTERNAL void
DoTheThing(int MyCoolNumber,
char *MyCoolChar,
void *MyCoolData)
{
// Does the thing
}
```
It's more readable for me to read _down_ rather than right; to view parameters in a list rather than one big long string that I have to visually parse. -
@TktStatusPICNIC You're welcome! Hope it goes well for ya, and I hope you don't get the death glares I get :D
-
seplayer2808yThat's interesting. I always write the variables in one row. Do you do the same with for loops?
-
R41D3NN1798yDepends on the language. With C#, Java, and C++ I do number 2. With C and pretty much all scripting languages I tend to do number 1.
Related Rants
There are two types of coders out there:
int main() {
// code here
}
int main()
{
// code here
}
Which one are you?
undefined
howdobracket
c++
two-types
coders
programmer