Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: Code Readability Poll [modified] Pin
DaveyM697-Oct-09 11:12
professionalDaveyM697-Oct-09 11:12 
AnswerRe: Code Readability Poll Pin
Not Active7-Oct-09 6:44
mentorNot Active7-Oct-09 6:44 
GeneralRe: Code Readability Poll Pin
Kevin Marois7-Oct-09 6:53
professionalKevin Marois7-Oct-09 6:53 
GeneralRe: Code Readability Poll Pin
N a v a n e e t h7-Oct-09 7:24
N a v a n e e t h7-Oct-09 7:24 
GeneralRe: Code Readability Poll Pin
Not Active7-Oct-09 7:53
mentorNot Active7-Oct-09 7:53 
GeneralRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 7:54
mvePIEBALDconsult7-Oct-09 7:54 
GeneralRe: Code Readability Poll Pin
LimitedAtonement7-Oct-09 7:32
LimitedAtonement7-Oct-09 7:32 
GeneralRe: Code Readability Poll Pin
Not Active7-Oct-09 8:01
mentorNot Active7-Oct-09 8:01 
IMO, this is more readable
if (insets == null) 

than this
if (ReferenceEquals(insets, null)) 


LimitedAtonement wrote:
I cast the object first without asking about the cast.


Not checking an object is unforgivable for a professional developer.

Refactoring must be balanced with need. Just because you can dosen't mean you should. The code may be working perfectly fine and the refactor introduces defects downstream. I've also had developers waste time refactoring when they had other tasks to perform. If you follow coding standards this sort of readbility refactoring won't be necessary.


only two letters away from being an asset

GeneralRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 8:07
mvePIEBALDconsult7-Oct-09 8:07 
GeneralRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 7:40
mvePIEBALDconsult7-Oct-09 7:40 
AnswerRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 7:26
mvePIEBALDconsult7-Oct-09 7:26 
AnswerRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 8:41
mvePIEBALDconsult7-Oct-09 8:41 
AnswerRe: Code Readability Poll Pin
OriginalGriff7-Oct-09 10:35
mveOriginalGriff7-Oct-09 10:35 
GeneralRe: Code Readability Poll Pin
PIEBALDconsult7-Oct-09 13:22
mvePIEBALDconsult7-Oct-09 13:22 
QuestionPocket PC development tools Pin
libelledriver7-Oct-09 4:21
libelledriver7-Oct-09 4:21 
AnswerRe: Pocket PC development tools Pin
EliottA7-Oct-09 4:24
EliottA7-Oct-09 4:24 
GeneralRe: Pocket PC development tools Pin
libelledriver9-Oct-09 3:25
libelledriver9-Oct-09 3:25 
GeneralRe: Pocket PC development tools Pin
EliottA9-Oct-09 3:27
EliottA9-Oct-09 3:27 
Questionscoket communication through internet IP between two machine? Pin
Tridip Bhattacharjee7-Oct-09 4:20
professionalTridip Bhattacharjee7-Oct-09 4:20 
AnswerRe: scoket communication through internet IP between two machine? Pin
stancrm7-Oct-09 5:43
stancrm7-Oct-09 5:43 
Questioni need help Pin
Mohamed El-Wehishy7-Oct-09 4:17
Mohamed El-Wehishy7-Oct-09 4:17 
AnswerRe: i need help Pin
Blikkies7-Oct-09 4:28
professionalBlikkies7-Oct-09 4:28 
RantRe: i need help Pin
Greg Chelstowski7-Oct-09 4:41
Greg Chelstowski7-Oct-09 4:41 
GeneralRe: i need help Pin
Blikkies7-Oct-09 4:44
professionalBlikkies7-Oct-09 4:44 
GeneralRe: i need help Pin
Mohamed El-Wehishy7-Oct-09 4:53
Mohamed El-Wehishy7-Oct-09 4:53 

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.