Infoof explained in MS blog
-
I hate using magic strings to identify tokens - methods, properties, events, ... It's a problem when using Reflection and especially XAML. I even wrote a short article about a workaround: Strong: Reflection without magic strings[^]. Eric Lippert is on the MS C# compiler team and he has written a blog entry about why this is not in the language: http://blogs.msdn.com/ericlippert/archive/2009/05/21/in-foof-we-trust-a-dialogue.aspx[^] We have
typeof
, but what I really want is aninfoof
. Apparently other people think the same way - read the comments! What do you think? Nick---------------------------------- Be excellent to each other :)
-
I hate using magic strings to identify tokens - methods, properties, events, ... It's a problem when using Reflection and especially XAML. I even wrote a short article about a workaround: Strong: Reflection without magic strings[^]. Eric Lippert is on the MS C# compiler team and he has written a blog entry about why this is not in the language: http://blogs.msdn.com/ericlippert/archive/2009/05/21/in-foof-we-trust-a-dialogue.aspx[^] We have
typeof
, but what I really want is aninfoof
. Apparently other people think the same way - read the comments! What do you think? Nick---------------------------------- Be excellent to each other :)
Thanks for the information, very useful.
Nick Butler wrote:
We have typeof, but what I really want is an infoof. Apparently other people think the same way - read the comments! What do you think?
It will have limited application. XAML is not C#, and from what I have seen in the demo, the new XAML 4.0 is quite complete. BTW, I will suggest the VB version to be
InfoAboutMe
;P Best regards, Paul.Jesus Christ is LOVE! Please tell somebody.
-
I hate using magic strings to identify tokens - methods, properties, events, ... It's a problem when using Reflection and especially XAML. I even wrote a short article about a workaround: Strong: Reflection without magic strings[^]. Eric Lippert is on the MS C# compiler team and he has written a blog entry about why this is not in the language: http://blogs.msdn.com/ericlippert/archive/2009/05/21/in-foof-we-trust-a-dialogue.aspx[^] We have
typeof
, but what I really want is aninfoof
. Apparently other people think the same way - read the comments! What do you think? Nick---------------------------------- Be excellent to each other :)
Nick Butler wrote:
what I really want is an infoof
What the heck. an
infoof
here andoutfoof
there. Any language with afoof
or two in it must be OK in my book.CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
-
Nick Butler wrote:
what I really want is an infoof
What the heck. an
infoof
here andoutfoof
there. Any language with afoof
or two in it must be OK in my book.CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
Replace
Dispose
withDisappearedWithAFoof
?"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
I hate using magic strings to identify tokens - methods, properties, events, ... It's a problem when using Reflection and especially XAML. I even wrote a short article about a workaround: Strong: Reflection without magic strings[^]. Eric Lippert is on the MS C# compiler team and he has written a blog entry about why this is not in the language: http://blogs.msdn.com/ericlippert/archive/2009/05/21/in-foof-we-trust-a-dialogue.aspx[^] We have
typeof
, but what I really want is aninfoof
. Apparently other people think the same way - read the comments! What do you think? Nick---------------------------------- Be excellent to each other :)
I would like infoof. I've read Lippert's objections to it, and so I suggest we go with a simpler
nameof
keyword.Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango
-
I would like infoof. I've read Lippert's objections to it, and so I suggest we go with a simpler
nameof
keyword.Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango