Re: Improving my code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Jo" <jodiepool@xxxxxxxxx> wrote in message news:1182499414.916366.207530@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I m wondering what can I do to improve my code, everytime I am coding
I feel like it could be done better. I started on c# a good months ago
and feel conformtable but sometimes I Need to look up stuff.
maybe someone can suggest a good book on good practices for c#?

One way to improve your code is peer review. From time to time, spend a few minutes with a colleague and have him look at a sample of your code, pointing out things that he would do differently, and explaining why. Do offer to pay back the favour and take a look at his code. While you are at it, ask questions about why he did things the way that they are done whenever you see something that you would have done in a different way.


.



Relevant Pages

  • Re: How to rewrite the following sentence?
    ... and they don't like explaining the need. ... they mustn't repeat any words in a sentence. ... and "and", but even with nouns it seemed ... worthwhile pointing out that it's a "rule" that needs to be broken ...
    (alt.usage.english)
  • Re: Belated look at the OSXhints April Fools front page
    ... Maybe when you take your head out of yours. ... out of by explaining how words mean something different. ... You don't bother paying attention to anything you don't want to pay ...
    (uk.comp.sys.mac)
  • Re: SHAPING UP TO BE A GREAT EPISODE...
    ... explaining that the alliance would hold true for the next 3 or so boots ... The word repeated refers to a second or subsequent occurrence, ... However, it was your pointing out that I wrote TJ instead of JT, and ...
    (alt.tv.survivor)
  • =?iso-8859-1?q?Re:_Banks_forced_to_pay_back_=A3200m_in_charges?=
    ... The banks having to repay these charges results in other people ... having to pay fees where they otherwise would not have had to. ... The fact that the charges were explained beforehand means nothing, ... just like signs in sports centres and the like "explaining" that ...
    (uk.finance)
  • Re: Sleeping in Light
    ... and I'm simply pointing out that "the way it works" is not the only ... > is, if one band won't play for a pitance, another probably will; ... > higher wages, and usually get them, because the venue wants that draw ... > and is willing to pay for it. ...
    (rec.arts.sf.tv.babylon5.moderated)