Re: C# very optimisation

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:MPG.1cf5cf6f893378b498c143@xxxxxxxxxxxxxxxxxxxxxxx
> Frank Hileman <frankhil@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> As I said, i++ may look strange to you, but ++i looks strange to me. I
> just find i++ more immediately readable.

I agree, I've very rarely seen ++i used in a for loop (or at all for that
matter). Most of the time people just use i++...

--
Adam Clauss
cabadam@xxxxxxxx


.



Relevant Pages

  • Re: Regular expression to split a long string
    ... x will be array of string splitter than its the matter of for each loop ... Shivprasad Koirala ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Progress Meter does not refresh during series of OpenQueries
    ... I have a doevents right after the do until... ... does it really matter ... where in the loop I place it? ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: mechanism for planetary growth
    ... This claim is incorrect and not supported by the evidence simply ... there is no evidence that HH-30 is creating matter. ... object from its previous created accretion disk. ... If I point out that a closed e loop ought to display the features ...
    (sci.geo.geology)
  • Re: acceptance of forth
    ... I think it's a matter of focus. ... In retrospect, you might have saved some time by learning on a friendlier system until you got the basics down, and then seeing how they apply in OF. ... can too easily be assumed to be the main purpose of the loop. ...
    (comp.lang.forth)
  • Re: processing a sequence
    ... (loop for sublist = (collect-sublist) ... return accum if not element = list.first ... if prev and element < prev ... James still didn?t show his Ruby one-liner that outperforms the Lisp ...
    (comp.lang.lisp)