[quote name='Antheus' timestamp='1297635884' post='4773839']
[quote name='Milcho' timestamp='1297634099' post='4773827']
DO you really think someone programming a video game with C has to deal with the same problems as someone writing a game with JavaScript? Would a person who's done one, but never the other have no problem moving?
Yes, they are the same.
They need to solve precisely the same problems. Only minor details will differ due to different constraints.
There is a main loop. In that loop one polls for events, updates logic and renders. That's it.
There are no "javascript" or "C" programmers. A question would be better phrased as: could an embedded developer move into web front-end development. And vice versa. Languages don't matter.
[/quote]
Why not abstract one step further? Any language is the same, because they all need to solve the same problems - how to achieve what the person writing with them wants to. Ok, no sarcasm, but what you call "minor details" is actually worth noting.
AGAIN, I will ask you to tell me where you gain experience with multi-threading in php or javascript. That minor difference, as you say, means that you have to know different things. And it's not so minor either.
You're arguing semantics. You chose to say 'minor details' whereas I say 'different skillset'. The fact is there are things you can do with one and not with the other. So, whatever you call them, if you have experience with one, and someone assumes it automatically applies to the other, there's a chance they're wrong.
That's it. I'm done. No more arguing. Go ahead, post, get your 'last word' in. I don't care.
[/quote]
It is a minor diference, i don't think most people using "programming languages" as you call them are doing multithreading or using it as a skillset defining thing. On top of it in most cases non-threaded asynchrony would be enought (hell nothing at all for some!) for most applications, and javascript does asynchrony pretty well, that's what the first letter in Ajax stands for , the second being JavaScript.
Also note that all server side apps are pretty much multithreaded, so most every php line written is multithreaded , on a per user basis, that happens with the simplest sites, but definately not with the simplest applications.