Basic question: Pin modes and enums

Perhaps he just wanted to know how stuff works, yeah? Perhaps it is just for academic knowledge? And it's his code he can do whatever he likes.