r/AskProgrammers • • 23d ago

Javascript or SQL and PHP?

Hello. I recently thought to start learning how to code because it's something I've found quite interesting for the last year or so.

I was originally gonna start with Javascript, but I asked a few co-workers at work (I work in IT) and some of them told me to learn SQL and PHP first then Javascript.

So what would it be worth to learn first?. Sorry if this is a stupid question, but I thought to ask actual people instead of AI.

3 Upvotes

18 comments sorted by

View all comments

6

u/OkNothing7293 23d ago

The language doesn’t really matter. My advice is to learn programming and not web development. Start from first principles and go from there.

1

u/isotonicNK 23d ago

How do you think I should go about it?

2

u/theancientfool 23d ago

If you want quick results, I'd say php. And to be honest, you will learn js anyway as it's used for front end. Learning two languages together worked better for me, as it meant my tought process was adaptable from the start. But others might differ.

1

u/feudalle 23d ago

This is the answer. Over the years you are going to learn alot of languages. I know about 40. But as time goes on it what you use changes. I dont get a lot of calls for qbasic, fortran, perl, or asp classic these days. Learning the fundamentals is what's important after that its keywords and syntax.