Click here to Skip to main content
15,890,512 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Tribalwars, Travian, and similar browser games Pin
Marco Bertschi12-Jan-14 5:39
protectorMarco Bertschi12-Jan-14 5:39 
AnswerRe: Tribalwars, Travian, and similar browser games Pin
jschell12-Jan-14 9:11
jschell12-Jan-14 9:11 
QuestionI need to rethink my app structure, anyone care to comment? Pin
Kim Johnsson6-Jan-14 3:15
Kim Johnsson6-Jan-14 3:15 
AnswerRe: I need to rethink my app structure, anyone care to comment? Pin
Keld Ølykke20-Jan-14 10:39
Keld Ølykke20-Jan-14 10:39 
QuestionC# teamwork coding style Pin
comiscience5-Jan-14 23:09
comiscience5-Jan-14 23:09 
AnswerRe: C# teamwork coding style Pin
Eddy Vluggen6-Jan-14 12:42
professionalEddy Vluggen6-Jan-14 12:42 
GeneralRe: C# teamwork coding style Pin
comiscience6-Jan-14 20:19
comiscience6-Jan-14 20:19 
GeneralRe: C# teamwork coding style Pin
Eddy Vluggen7-Jan-14 9:27
professionalEddy Vluggen7-Jan-14 9:27 
comiscience wrote:
But how could you read other's code which has 100 lines more in a method?
With a sad face.

Then I'd refactor the code, and ask the other if the change is acceptable. The compiler doesn't care about the length, nor do I - but I do care about readability and maintainability. Code that's complex is harder to support, so one would strive to keep it as simple as possible (one responsibility!)

Sit down with the other, and take the time to make it more readable; it'll help the other with writing better code, will lower your frustration-level, and will lower the cost to support the code, since simpeler code contains less bugs. Demanding that a method has a maximum length of, say, 10 lines would simply mean that coders start to divide that code over multiple methods that get called consecutively. You'd end up with the same code, but now divided over multiple methods.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: C# teamwork coding style Pin
comiscience7-Jan-14 20:41
comiscience7-Jan-14 20:41 
AnswerRe: C# teamwork coding style Pin
Pete O'Hanlon7-Jan-14 22:46
mvePete O'Hanlon7-Jan-14 22:46 
GeneralRe: C# teamwork coding style Pin
comiscience7-Jan-14 23:02
comiscience7-Jan-14 23:02 
QuestionBase class method access VS. abstract class Method access Pin
netfed4-Jan-14 22:28
netfed4-Jan-14 22:28 
AnswerRe: Base class method access VS. abstract class Method access Pin
Kornfeld Eliyahu Peter5-Jan-14 2:14
professionalKornfeld Eliyahu Peter5-Jan-14 2:14 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed5-Jan-14 3:01
netfed5-Jan-14 3:01 
AnswerRe: Base class method access VS. abstract class Method access Pin
Kornfeld Eliyahu Peter5-Jan-14 3:17
professionalKornfeld Eliyahu Peter5-Jan-14 3:17 
AnswerRe: Base class method access VS. abstract class Method access Pin
Shameel6-Jan-14 3:53
professionalShameel6-Jan-14 3:53 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed9-Jan-14 2:49
netfed9-Jan-14 2:49 
GeneralRe: Base class method access VS. abstract class Method access Pin
Richard MacCutchan9-Jan-14 4:43
mveRichard MacCutchan9-Jan-14 4:43 
AnswerRe: Base class method access VS. abstract class Method access Pin
Shameel10-Jan-14 3:36
professionalShameel10-Jan-14 3:36 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed12-Jan-14 0:51
netfed12-Jan-14 0:51 
GeneralRe: Base class method access VS. abstract class Method access Pin
Ron Beyer12-Jan-14 4:33
professionalRon Beyer12-Jan-14 4:33 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed12-Jan-14 6:17
netfed12-Jan-14 6:17 
GeneralRe: Base class method access VS. abstract class Method access Pin
Ron Beyer12-Jan-14 6:40
professionalRon Beyer12-Jan-14 6:40 
GeneralRe: Base class method access VS. abstract class Method access Pin
Shameel12-Jan-14 4:54
professionalShameel12-Jan-14 4:54 
AnswerRe: Base class method access VS. abstract class Method access Pin
Keld Ølykke9-Jan-14 14:33
Keld Ølykke9-Jan-14 14:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.