Firstly, I read it as a kid, in my formative years, when it was most likely to have an impression on me.
But I remember reading the books and feeling completely enraptured by this magical world. I also remember feeling a a bit annoyed at what I perceived as Harry's laziness and ingratitude! I would think "if I was him, I would spend all my days in the library, learning all the coolest spells, potions etc., and make the most of all this magical power"
As an adult, this has unintentionally become the frame through which I view my job as a programmer. You can call me a romantic, but I've been doing this for years and I still think it's wonderful. At any time I can open a book or a man page and learn some amazing new spells.
With our computers, we _all_ have access to magic, it's just about learning to use it.