Programming full stack with JavaScript requires a different programming mindset with its asynchronous nature.
Programming full stack with JavaScript requires a different programming mindset with its asynchronous nature.
Have you used PHP in the last 5 years?
Sure TS with something like Express has its disadvantages but I'm ok with it. It's the tool I use for a specific job and there's a lot more useful things to learn than another language & framework just for its sake.
> there's a lot more useful things to learn than another language & framework just for its sake.
Agreed.
Both are old languages and both had years of low quality devs cranking out terrible stuff.
Not a PHP advocate.
But I do recommend people think carefully before they commit to either Javascript or PHP.
Both are about equally good/bad in my opinion (I have written significant Javascript as far back as in 2005 and PHP later.)
Both are useful and both have very very effective footguns built in (unlike Java, my personal favorite, who's footguns are less effectivebut who's more famous for its built in ball and chain).
A significant advantage of PHP is it looks ugly and people already know they should be careful around it so they aren't so easily tempted to start using it for everything under the sun like they are with Javascript ;-)
Wikipedia tells me they're both from 1995.
That is a mighty strong statement when trying to big javascript lol
More of a hot mess of a language than Javascript where every engine can apply their own rules and implementations, just like HTML?
Just because almost everyone uses V8, it doesn't change the fact that when you execute Javascript code, it's not guaranteed to run a certain way because each engine is based on recommendations and standards - not cemented rules. It's the same problem as having to write HTML/CSS for each browser engine.