Learn Python through visualizing the code base?

Fabian Eggers
Metabob
Published in
2 min readApr 23, 2020

I’m sure you know people who like to talk about themselves as being visual persons, meaning that they understand things better when they are presented in graphics, diagrams, images and so on. Maybe you consider yourself a visual person? Although there is an ongoing debate if visual learning indeed is a learning style or if other underlying factors are at play (see a recent Medium post and an article in The Atlantic) one can probably agree that sometimes (or oftentimes) seeing something is better than just reading about it. Visualization helps comprehension and therefore learning.

Which creates an interesting question: What about visualizing code?

Programming languages are what the term implies: languages. Written languages. So, is it useful to visualize written code? And would this be helpful to better understand the code base and to find bugs? Or to learn a programming language? Such as learning Python?

Searching for keywords such as “Python visualization” or “visualization programming language” reveals tons of ideas of how to visualize data with Python (or other languages) but not how to visualize the code base itself.

Still, there are a very few tools out there that address these questions. MetaBob (currently free on GitHub) and CodeScence visualize the code base and in addition use machine learning algorithms to find bugs and suggest code improvements. But it remains to be seen if these platforms change the way how people code and learn new programming languages.

Ultimately, the question is: Are software developers visual persons?

--

--

Fabian Eggers
Metabob
Editor for

Professor of Marketing and Entrepreneurship, Business Writer, Co-Founder