|
Of course if one alights at Charing Cross one merely turns right, walks 100 yards and then one is at The Savoy.
If one is staying there one would never go to Greenwich!
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Why would you stay at a common hotel? How very 20th century nouveau riche - one should, of course, stay at one's club. Home House is very pleasant and well situated.
BTW; a reason to go to Greenwich is the observatory. Royal Observatory[^]. Well worth a visit. Otherwise, yes, anything south of the river, much like anything north of Watford is not worth the time or trouble to get there.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
There's also this place[^], if you're after decent ales and horrendously overpriced food.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
My son yelled "I'm Thor!"
"I told you to use talcum powder" I replied.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
I prefer the original version:
The god of war rode out one day
Upon a handsome filly.
"I'm Thor!", he cried.
The horse replied,
"Well, you forgot your thaddle, thilly!"
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I was hoping it would be crap so I could write the following review:
Thor! Hoo! Haaa! What is it good for?
Absolutely nothing.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
I've just found out that this works:
int[,] numbers = new int[,] { { 11, 21, 31 }, { 12, 22, 32 }, { 13, 23, 33 }, { 14, 24, 34 }, { 15, 25, 35 }, { 16, 26, 36 }, { 17, 27, 37 }, { 18, 28, 38 } };
foreach (int i in numbers)
{
Console.WriteLine(i);
}
Am I alone in thinking that's really nasty and unobvious?
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
I know that works, but I don't like it.
|
|
|
|
|
Glad to know I'm not alone!
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
No your not alone in thinking its uugly!
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I think I see the problem - you've got a redundant new int[,] in there!
int[,] numbers = { { 11, 21, 31 }, { 12, 22, 32 }, { 13, 23, 33 }, { 14, 24, 34 }, { 15, 25, 35 }, { 16, 26, 36 }, { 17, 27, 37 }, { 18, 28, 38 } };
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
If you gave me that code as an answer, I would give you the first line in your signature as a response
|
|
|
|
|
OriginalGriff wrote:
Am I alone in thinking that's really nasty and unobvious?
Probably not, I bet a few others agree with you.
I personally don't find it ugly, specially with better formatting it can be quite readable.
|
|
|
|
|
The number 33 ticks me off a little bit, but other than that the line looks fine.
|
|
|
|
|
There is a phobia for that.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Wow, I like it, it is wonderful Yes, it is a bit unnatural.
By the way, for I while I thought it was Lua . However Lua output would have had more respect for the data structure.
Veni, vidi, vici.
|
|
|
|
|
What were you expecting?
The reasonable man adapts himself to the world; the unreasonable man adapts the world to himself.
Therefore all progress depends on the unreasonable man.
- George Bernard Shaw
|
|
|
|
|
A compiler error would have been nice...
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
?! On my machine it runs and does exactly what expected...
What do you want a compiler error for?!?!
|
|
|
|
|
To stop people doing it...if you declare something as a 2D array, then being able to use it as a 1D array is just...nasty...and it opens all sorts of "future behaviour" problems. Although MSDN does say "You can do this"[^] it doesn't lay down in stone the order in which such elements will be processed - which means that it could chanmge in future .NET releases, or be different between .NET and Mono for example.
It's just a trick - not something you should do in "real" code.
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
OriginalGriff wrote: It's just a trick - not something you should do in "real" code.
There is all sorts of stuff like that though.
I would say that younger developers get the notion that once they 'learn' a new idiom that they start looking for places where it can be applied without any thought as to the maintenance cost or real applicability.
Of course I have seen developers into at least their late 30s doing that as well. And defend the usage as ideal based on rationalizations that it requires fewer lines and that real developers should understand that code anyways. Never seen a rationalization that actually supported delivering code though.
|
|
|
|
|
Had it been a jagged array int[][] numbers = { new int[] { 11, 21, 31 }, new int[] { 12, 22, 32 }...
I would expect and is getting an error.
The reasonable man adapts himself to the world; the unreasonable man adapts the world to himself.
Therefore all progress depends on the unreasonable man.
- George Bernard Shaw
|
|
|
|
|
I agree - but the code does what it says (if you get me) i.e. for each integer in the collection of numbers ... It's sort of spookily nice.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
programming questions need to get addressed to Christan Grausss.
However, yes it looks crap - i recommend you quit writing code like that
Bryce
MCAD
---
|
|
|
|
|
What is the (missing) problem exactly?
You might not be alone, but this doesn't steer any emotion other than indifference to me...
modified 30-Oct-13 23:47pm.
|
|
|
|