Why are you not shooting film yet?

Monday, 3 January 2011 22:10 GMT | 5 comments

Isn’t it amazing that 1885 technology still rivals today’s all-digital?

I wish more people would join us in film photography.

Jessica

Eddy.

New Habits

Saturday, 30 October 2010 18:02 GMT | 6 comments

BREAKFAST at 7.30. On a Sunday. I must be getting old.

7.30

Eddy.

Apparently, I was in Mauritius recently

Thursday, 12 August 2010 22:28 GMT | 3 comments

SO, what do I remember of my criminally-short visit to Mauritius? Not much, but fortunately the important bits are here.

First, the great wedding reception of Stéphane and Lynn on the evening of our arrival; second, five days of rushing from one government building to another in a bid to have our passports renewed in time for us to travel to the UK (yes, we barely just made it back); third, a quick visit to Casela Bird Park; and, last, five consecutive days and nights of eating out.

Somehow, before I had time to fully realise what was happening, I was back on a plane bound for England!

Eddy.

Bangers and mash

Tuesday, 18 May 2010 20:01 GMT | 2 comments

WHAT 75 of us had for dinner in a 5-star Marriotts a couple of years ago during a company retreat week-end. Testament to the awesomeness of bangers and mash? Or, a meal unfit for the venue?

food*

Eddy.

Declaring variables inside-versus-outside loops

Monday, 10 May 2010 11:39 GMT | 2 comments

IN .NET, there is no difference between declaring variables inside loops and declaring variables outside loops. Here is the proof.

Here are two programs inside.cs and outside.cs, appropriately named to reflect the two ways respectively.

inside.cs versus outside.cs

And, here is the ILASM obtained by disassembling inside.exe and outside.exe.

ildasm output of inside.exe and outside.exe

As you can see, the two are the same.

So, please leave those variables inside loops when they are not needed outside. Having the variables closer to their point of use makes the code easier to read.

Eddy.



« NewerOlder »

Powered by WordPress and Eddy Young.

DISCLAIMER: This site is supported by advertising. As a result, cookies may be installed by advertisers in order to track usage and trends. If you do not want this, please disable cookies for this site.