Results 1 to 3 of 3

Thread: How often do you Reflect?

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    How often do you Reflect?

    Do you ever reflect upon your life and wonder about how much you've accomplished and can do?

    Oh, and in VB.NET, how often do you use Reflection to work with objects? I was just going through some study material, and came across "Polymorphism through .NET reflection".

    I'm wondering about its usage. Frequent? When would I use such a thing?

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    On reflection I think Reflection is a bit of a black art. I have tried to read up on it but it tends to make me nod off.

    From what I can tell, it seems to be a way of examining the contents of assemblies during runtime. So you could write program A today and get it to recognise a DLL written next month. Time travel basically. Simply put it gives you a way to forward-engineer and future proof your programs.

    I doubt most people use it at all, but those that do use it use it in most of their apps.

    I keep meaning to learn it but I keep falling aslee....zzzz zzzzz zzzzzz zzzzzz zzzzzzz.
    I don't live here any more.

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Reflection is great but its like the corkscrew on a swiss army knife - you don't use it for everything but when you need it its perfect. I use reflection in a lot of the projects at work. It saves me from some maintanence nightmares. You probably already use reflection to some degree and just don't realize it. Serialization is done through reflection - that is how it gets/sets the private members.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width