DEV Community

Discussion on: Metaclasses in Python

stealthmusic profile image
Jan Wedel

It goes even further.

A long time ago, I wrote a Python interpreter in Java based on some existing interpreter written in C.

And I was amazed how everything was internally an object, strings, numbers, classes but even modules and code itself!

In some interviews where candidates have knowledge in both languages, I ask the vicious question β€žwhich one is more object-oriented, Java or Python?β€œ 😈