Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Introspection vs Reflection

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are introspection and reflection two different things ?
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pho,
Sort of ...
Introspection is figuring out yourself (class)
Reflection is figuring out any class
That means that we can use reflection to perform introspection ... weird huh?
Regards,
Manfred.
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So java.beans.Introspector#getBeanInfo() is performing
introspection and not reflections ?
Pho
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic