Whether you’re an experienced data scientist, a first-timer in this ever-growing industry, or even if you work in an unrelated field but interact with data analysis often, you probably face the same pivotal question: “Should I learn to code?” let's find out the answer!
👉 Connect with me on LinkedIn to share ideas and keep the conversation going!
I am a computer scientist. I started learning code at 17. My career shifted, and I found myself in the world of data after obtaining my engineering diploma.
I can tell you from my experience that coding is not strictly necessary for a data science role. In my first data role, I did not write a single line of code and spent my days checking data sources and manually inspecting text files. However, my familiarity with databases and SQL allowed me to automate some tasks and replace Excel file manipulation by handling the information directly where it was stored.
My team was also used to analysing data directly in Excel, with formulas and pivot tables, as well as visualising data there. There was both convenience and resistance to change. Some senior analysts used the no-code tool IBM SPSS Modeller.
So, back to the question, “Should I learn to code?” The simple answer is yes. But let’s understand exactly what, why, and how.
We know coding is hard, and it takes a long, intensive journey to master it, but we are here to prove how embracing coding can quickly and significantly transform the way we solve problems and overcome obstacles.
Let’s start by asking one more question, a better one: “Do I already know how to code?”
If your answer is No, think again. Have you ever created formulas in Excel to sum and count values? Well, there you were, technically coding.
You were instructing the computer what to do using a set of instructions and a language. Coding is all about using a specific language to talk to a computer to give these instructions. Each language has its own constraints and specific syntax.
And although becoming a senior developer takes years of training, learning even the basics of coding can pay off more quickly than one might imagine.
On top of that, and perhaps most importantly, learning code makes it easier for data scientists to communicate with developers, and enables them to transform innovative ideas into tangible solutions without always depending on external software or tools.
Coding isn't just about automating tasks or writing scripts. The key is adopting a distinct, powerful Coding Mindset.
The coding mindset is a game-changer in data-centric roles.
It encourages critical thinking, perseverance, attention to detail, and creativity by using programming methodology as a framework for problem-solving.
Looking at challenges as puzzles to solve and obstacles as opportunities for innovation enables you to understand the data analytics process, including algorithms and data manipulation, solve problems, increase efficiency, and produce more customised results.
Just like learning a new spoken language, learning to code is a marathon, not a sprint. It takes time and practice to master a programming language because you are training your brain to think differently. I, for instance, as a Spanish speaker, have been learning English for more than 20 years, and I am still discovering more complex grammar rules and different ways to convey the same message to English speakers.
Learning to code is a journey, not a destination. Enjoy the process, and don't be afraid to make mistakes. The important thing is to learn from your mistakes and keep practising.
So now that we understand what coding is all about and the tight relationship between coding and data science, what do you actually need to learn?
The most in-demand programming languages for data scientists are Python, R, and SQL.
Some tips on choosing a programming language to start with:
|
Low-code software development is a visual approach that makes coding more accessible and user-friendly, democratising digital creation and making tech development more inclusive. Instead of traditional manual coding, low-code platforms use drag-and-drop interfaces and visual builders, allowing a broader audience to participate.
While low-code doesn't replace classic code in terms of depth and flexibility, it provides a valuable opportunity for those seeking to harness the power of technology without any prior programming knowledge and offers a great stepping stone into the world of code.
Here are a few of the many low-code tools available for data scientists today:
The coding mindset can be applied even if you don't write traditional code:
🗓️ Optional deep-dive to review later: Check out Luke Barousse and Alex Freberg, two of my favourite data analytics YouTubers, Both have great videos on the relationship between coding and data science!
In data science, coding isn't just about writing lines of code. It's about a way of thinking that can improve your analytical skills, boost your creativity, and help you solve problems better. Even if you don't code every day, having a coding mindset can be incredibly helpful for data analysis, communication, and innovation.
Whether you learn a traditional programming language like Python, R, or SQL or start with a more accessible low-code platform, the key is to learn how to use logical reasoning, decomposition, iterative processes, and a little creativity to build effective solutions. It’s not just about the language you speak, but the mindset you develop.
Learning a new spoken language opens up new cultures, perspectives, and opportunities, as does learning to code. It gives you access to a universe of digital possibilities, allowing data scientists and anyone who works with data to communicate fluently with technology and innovate in ways that were never before possible.