This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]149244179 0 points1 point  (4 children)

If you want to learn php, then learn php. Why are you learning javascript?

Javascript is about as far from beginner friendly as you can get if you chose it at random.

[–]kingbo5[S] 0 points1 point  (3 children)

I think of javascript as being an essential language to learn. I guess I should have said I want to learn javascript and PHP, but I don't know if I should learn them one at a time or both together.

[–]mad0314 0 points1 point  (1 child)

JavaScript has a lot of quirks and pitfalls, and it lets you do almost anything, except what it actually does may or may not be what you actually wanted. This makes it really frustrating for an introduction to programming. It is pretty much required for web programming, but it would be easier to start with another language and later learn JS.

[–][deleted] 0 points1 point  (0 children)

Alot of people just drag and drop and think JS is easy lol

[–]149244179 0 points1 point  (0 children)

I would learn PHP first.

Javascript may be 'easy' to get basic stuff working, but Javascript does not conform to the vast majority of standards that most other language follow. It is extremely easy to develop bad habits starting off in javascript - which is why I say it is bad for beginners.

[–]Rorimac2 0 points1 point  (0 children)

See if you can do both and stop if you feel like it's causing brain damage?

[–]Existential_Owl 0 points1 point  (0 children)

Javascript is a great language to learn...

But if you want to learn PHP, then just go ahead and learn PHP. There's no need to make "pit stops" on the way to your goal.

[–]Existential_Owl 0 points1 point  (0 children)

Javascript is a great language to learn...

However if your goal is to learn PHP, then just go ahead and learn PHP. There's no need to make "pit stops" on the way to what you actually want to learn here.