FlatFap:
Why do people do this
instead of this?
Why do people do this . . .
void foo()
{
stuff...
}
instead of this ?
void foo()
{
stuff...
}
FlatFap:
When you start programming on a VT100 or earlier terminal, you only have 24 lines visible. Saves vertical space so you can see more code. Affects code folding. Styles created are based on available tools.
Why do people do this | instead of this? |
void foo(){
stuff...
} | void foo()
{
stuff...
} |
FlatFap:
We all have our preferences, the most important thing is consistency of your approach, especially if one day you ask other people to read or help with your code. ;-)
Because that's two extra key strokes to indent each brace and the function braces are 'master' braces containing the inner code, so it get's messy when using for loops et al.
Your point is valid; whatever floats your boat.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why do people do this
void foo(){ stuff... }
instead of this?
void foo() { stuff... }