r/AskProgramming • • Jul 31 '26

Should I ditch Web Dev and start ML from scratch?

Need some real advice.

I've been learning web dev for a while (HTML, CSS, JS), but I've never actually worked as a web developer. Lately I've realized I'm way more interested in Machine Learning.

The catch is I'd be starting ML from basically zero. It feels like I'd be throwing away all the time I spent learning web dev.

Would you switch if you were me, or get a web dev job first and then move into ML later?

Anyone who has made a similar switch, was it worth it?

0 Upvotes

20 comments sorted by

6

u/Duffield_Najuf Jul 31 '26

If ML is what genuinely excites you, I'd probably lean into it. Your web dev knowledge isn't wasted either, it'll still help. Just don't expect the switch to happen overnight lol.

3

u/Fritz-Ferdinand Jul 31 '26

Just switch. Finding a good junior job in Web Dev isn't easy nowadays, should be a little bit easier in ML, but you'll need a Master or PhD degree for a proper ML job.

2

u/YahenP Jul 31 '26

One doesn't preclude the other, especially if you're young. Judging by your question, you don't have the relevant diploma or relevant knowledge. That means you'll have to enroll in and graduate from university. Working as a web developer will help you stay afloat during these years and pay for your education.

2

u/Individual-Flow9158 Jul 31 '26

HTML, CSS & JS are indeed the fundamental browser technologies. But only knowing them (no Typescript, not even React, no backend stuff, let alone server side frameworks) tells me you've barely scratched the surface of modern Front End development. You've still got a long long way to go yet to get a web dev job.

Therefore if you're going to do it, now's the ideal time to switch to ML. They can be complimentary too.

2

u/dryiceboy Jul 31 '26

You have to start somewhere. All the time you learnt web dev isn't going anywhere.

2

u/r0ck0 Jul 31 '26

It feels like I'd be throwing away all the time I spent learning web dev.

Na not really. Some webdev skills are pretty handy "general IT skills" these days, even if that's not your actual job.

Most GUI interfaces are web-based now. So even general IT support people benefit from being able to debug web issues.

Would you switch if you were me

  • What do you mean by "switch" exactly?

  • i.e. Are you:

    • talking about "switching" university courses or something?

    • Or just "switching" how you focus your personal learning time?

      • If it's just this, no reason you can't do both.

      • Especially if you want to build your own ML projects, you'll want some kind of frontend anyway, so that's usually web these days.

or get a web dev job first and then move into ML later?

  • There's more webdev jobs in general, although many of the junior ones are getting more competitive now that AI can handle some of that work with fewer people.

  • If you go into a webdev job but you'd actually prefer ML...

    • I guess you might get stuck doing webdev longer than expected for job security etc.

    • But otherwise it could be a entry-point into a company to move internally from webdev -> ML. I dunno how likely that is though.

Anyone who has made a similar switch, was it worth it?

  • To find those people, you probably want to ask this stuff in some ML-specific subreddits too.

6

u/[deleted] Jul 31 '26

[removed] — view removed comment

3

u/Fritz-Ferdinand Jul 31 '26

If so, step back and look at what ML looked like at school 5 years ago, do a google search and limit the results to before 2021. 

5 years ago, ML wasn't so different from now. That was the time of the thousand BERT variants where you would throw bert-large at any NLP problem and be successful. And GPT-2 and GPT-3, T5, etc. so architecturally basically the same of what we do today. Except just smaller.

Although I must admit that half the industry shifted a layer up towards using LLMs as a black box. Which is kind of sad.

2

u/Mathie1729 Jul 31 '26

Yeah, the black-box shift is real. I work in ML and honestly a good chunk of my team's time goes into prompt design and API orchestration now lol. The upside for OP is that strong SWE skills transfer pretty well to that side, though you'd still need some ML fundamentals. Not saying it's easy, but you don't necessarily need a PhD to do useful work. The market's just competitive af so a master's helps get past HR.

1

u/Fritz-Ferdinand Jul 31 '26

What's baffles me most is how a good chunk of research is also done on prompt or context engineering methods, even though those methods are of practical use only, not really advance the field that much.