The code should be as concise as possible and no more. :)
Putting aside comments, there are several factors that influence how short (or otherwise) it should be:
, , .
- . , , .
:
.
, . , , (, , ).
- , (ab) - - , . . , .
.
, , , . , //, Foo, Foo , Foo- . .
, / , , , .
, , "i", , , , .
. , . , , . / , , . , , , .
Lifespan
, , . ( , ), . , , , .
, , . , , , ( ). , .
, , , -, , , , , , , , .
, , .
( , , lambdas, ). , . , .
, //, , (, if ), .
, , , . flibble x = new flibble(), var x = new flibble() ( , ). var flibble = SomeMethodWhoseReturnTypeIsNotClear(). , intellisense , , , .
( ) :
- .
- (++ x x ++ , )
- , .
- "" , . , ( ) , , , .
- . if , , . ( / , )