McTaba Labs logo
By Bonaventure Ogeto|

Should you learn to code in first year if your course is not computer science?

Yes, but not the way you expect. You do not need to become a software developer. You need enough technical literacy to automate repetitive work and build small tools for your field. A commerce student who can query a database or build a web form has a real advantage. Start with one language and build one thing by semester end.

The real question is not "should I code" but "what kind of coding do I need"

When people say "learn to code," they usually mean "become a software engineer." That is one path, but it is not the only one.

Most non-CS students benefit from a different kind of technical skill:

  • A business student who can pull data from a database, run analysis in Python, and present the results has skills most business graduates lack.
  • A journalism student who can scrape public data from a government website and visualise it has a story nobody else in the newsroom can tell.
  • An agriculture student who can build a simple form for collecting field data saves weeks of manual work per season.

None of these require a CS degree. They require a semester of deliberate practice and one project that connects coding to something you already care about.

When to start and what to expect

First year is the right time, for one reason: you have more free hours than you will ever have again. By third year, you have attachment, projects, and exam pressure. First year gives you the breathing room to learn something new without failing your actual course.

Expect it to be confusing for the first two weeks. That is normal. Every programmer experienced the same confusion at the start. It does not mean you lack talent. It means you are learning a new language, which is exactly what it is.

The semester-by-semester coding plan breaks this down into weekly actions that fit around lectures. Start there.

If you are worried about the maths, read the coding alongside a degree cluster for an honest answer. Short version: most practical coding uses less maths than you think.

What to learn first as a non-CS student

Pick one of these based on what you want to do with it:

Python if you want to analyse data, automate tasks, or work with AI tools. It reads like English and has the gentlest learning curve. Most online resources teach Python well.

JavaScript if you want to build websites or web apps. It runs in the browser, which means you see results immediately. If your goal is freelancing or building tools for businesses, JavaScript is practical.

Do not learn both at once. Pick one. Spend a semester with it. Build one thing. Then decide if you want to go deeper or switch.

If you do not have a laptop yet, you can start on your phone. It is limited, but it gets you past the "I have never written code" barrier, which is the hardest part.

The one thing to build in your first semester

Tutorials teach concepts. Projects teach skills. The difference matters.

By the end of your first semester of learning, build one small thing that solves a real problem. Not a to-do app from a tutorial. Something connected to your life:

  • A simple website for a campus club or local business
  • A script that organises your class notes by date
  • A form that collects survey responses and puts them in a spreadsheet
  • A calculator for something specific to your field (loan interest, crop yield, GPA)

It does not need to be polished. It needs to work. The fact that you built something functional, from scratch, with no course requiring you to, is the thing that separates you from students who "want to learn to code" but never start.

What to do this week

  • Decide on Python or JavaScript. Pick one, not both.
  • Find one free resource (freeCodeCamp, Codecademy, or CS50 on YouTube) and complete the first lesson.
  • Set a recurring 30-minute block in your calendar, three days a week, for coding practice.
  • Write down one small problem in your daily life or coursework that a simple tool could solve.

Frequently Asked Questions

Will learning to code help me get a job if my degree is not in tech?
Yes, if you can demonstrate the skill with a real project. Employers in banking, media, agriculture, and government increasingly value candidates who can work with data, build simple tools, or communicate with technical teams. A portfolio piece matters more than a certificate.
How many hours per week do I need?
Three to five hours per week is enough to make real progress in your first semester. That is three 90-minute sessions. Consistency matters more than volume. Ten hours in one weekend followed by two weeks of nothing teaches you less than three steady sessions per week.
Should I take a paid course or use free resources?
Start with free resources. freeCodeCamp, The Odin Project, and CS50 (Harvard, free on YouTube) are better than most paid courses. Once you have built your first project and know what you want to specialise in, you can evaluate whether a paid course fills a specific gap.

Related articles