Sefism early access is open for X and Instagram followers and university students.Get early access
Learning and skills

Should I learn AI and machine learning, or become a strong software engineer first?

Tauseef Fayyaz

Answered by Tauseef Fayyaz

Asked 9 timesUpdated 18 Sept 2026
Short answer

For most people, become a solid software engineer first, then add AI on top. Most AI jobs today are engineering jobs: building products around models, data pipelines and APIs. Research-heavy machine learning is a different path that needs strong maths and usually a postgraduate degree.

What people tell me

Everyone around me is talking about AI and machine learning, and job posts mention it everywhere. I have some programming experience, but I am not yet confident building complete applications. I cannot decide whether to jump straight into machine learning courses so I am not left behind, or to spend another year getting good at software engineering. I am worried that choosing wrong will cost me years.

A composite of the messages behind this question, with personal details left out.

Key takeaways

  • There are two different careers hiding behind the word AI: building with models, and building the models themselves.
  • Building with models is mostly software engineering: APIs, data, evaluation, deployment and reliability.
  • Research and model training needs deep maths and statistics and usually a master's or PhD.
  • A strong engineering base makes AI much easier to learn later. The reverse is rarely true.
  • You can combine both: build ordinary software projects that include one sensible AI feature.

First, separate the two careers

When students say "I want to go into AI", they usually mean one of two quite different jobs.

Building with AIBuilding AI itself
Typical titlesAI engineer, software engineer, full-stack engineer on an AI productMachine learning researcher, applied scientist, ML engineer on model training
Daily workCalling models, retrieval, prompts, evaluation, APIs, data pipelines, product featuresTraining and tuning models, experiments, maths, papers, large-scale data
Core skillsSoftware engineering, data handling, testing, system designLinear algebra, probability, statistics, optimisation, research methods
Usual entry routeStrong engineering portfolioPostgraduate degree and published or serious research work
Number of openingsLarge and growingMuch smaller and very competitive

Most of the jobs that have appeared in the last two years are in the left column. And the left column is, overwhelmingly, software engineering with a model in the middle.

Why I usually say engineering first

When a company builds an AI feature, the model call is perhaps ten percent of the work. The rest is ordinary engineering: getting the right data to the model, handling failures and timeouts, storing results, checking quality, controlling cost, protecting user data, and deploying it reliably. A person who is weak at those things cannot ship an AI product, no matter how many machine learning courses they have finished.

I have seen many students with three ML certificates who cannot build a working API or deploy anything. They are not hireable for either column. I rarely see the opposite problem, because a good engineer can learn to use models in weeks.

When going straight to machine learning makes sense

There are people for whom ML first is the right call. You probably fit if most of these are true:

  1. You genuinely enjoy maths and statistics, not just the idea of AI.
  2. You are willing to do a master's or research-focused path.
  3. You like reading papers and running experiments more than building products.
  4. You are comfortable with a smaller, more competitive job market in exchange for deeper work.

If that describes you, lean in, but still learn to write clean, tested code. Research teams complain constantly about code that nobody else can run.

A path that does not force you to choose

For most students I suggest this order:

  1. Months 1 to 4: get solid at one language and one stack. Build and deploy two complete projects with a database, authentication and a clean README.
  2. Months 4 to 6: learn the fundamentals that sit under everything: HTTP, databases, basic system design, Git, testing.
  3. Months 6 to 8: add AI as a layer. Use an LLM API in one of your projects. Add retrieval over your own data. Measure whether the output is actually good.
  4. After that: decide based on what you enjoyed. If you loved the evaluation and data side, go deeper into ML. If you loved shipping the product, you are an AI-aware software engineer, which is exactly what most companies want.

How to know you are ready to add AI

You do not need to be an expert engineer. A good signal is when you can build a small application end to end without following a tutorial, you understand what an API call does and how to handle it failing, and you can read an error message and make progress on your own. From that point, AI topics stop being magic and become tools you can reason about.

The fear of being left behind

The worry underneath this question is usually "if I spend a year on fundamentals, everyone else will be ahead". In practice, the people rushing into AI without foundations stall quickly, and the ones with foundations catch up in a few weeks. A year of real engineering is not a delay; it is the thing that makes every later topic faster.

A self-check before you decide

Answer these honestly, yes or no:

  1. Could I build a small web application with a database and deploy it without a tutorial?
  2. Have I enjoyed a maths or statistics course for its own sake, not just passed it?
  3. When I imagine my ideal week, is it mostly running experiments, or mostly shipping features people use?
  4. Would I be willing to spend two more years in formal study to reach the role I want?

If you said no to the first question, engineering first is almost certainly right, whatever you answer to the rest. If you said yes to the first and yes to two and four, a research-leaning ML path is worth exploring seriously. If you said yes to the first and the third answer was "shipping features", you are describing an AI engineer, and your next step is adding AI to real products.

An example of the combined route

Imagine a student who spends six months building a clinic appointment system: patients book slots, staff manage schedules, reminders go out by email. Nothing about it says AI. Then they add one feature: patients describe their symptoms in free text, and the system suggests which department to book, with a clear disclaimer and a human able to override. They build a test set of fifty sample messages and measure accuracy.

That student can now talk credibly to a product company, an AI startup, or a health technology team. They did not have to choose between the two columns. They built the engineering base and then showed they could apply a model responsibly.

If you are still stuck

Read An AI Engineering Roadmap That Puts Things in the Right Order and The AI Engineering Words You Keep Hearing, Explained Properly. If you want help deciding which column fits you, join Sefism and, as a member, book a 1:1 session.

Was this answer helpful?

Ask your own

Your situation is not quite this one?

Members get written answers to their own questions, a roadmap built for them and feedback on their projects. Early access is open to X and Instagram followers and university students. Prefer to talk? A free call works too.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

More questions people ask

All questions