Make me wonder...
Is there anything like TypeScript or MoonScript for PHP? A source-to-source language that tries to mitigate the quirks and issues with the target language.
Is there anything like TypeScript or MoonScript for PHP? A source-to-source language that tries to mitigate the quirks and issues with the target language.
The thing is, you have more control over what language you can run on the server-side, whereas all your web browser clients run JavaScript. So it made sense to have a transpiler targeting JavaScript.
I had the displeasure of PHP being the first "programming language" I came across. Most of my knowledge was gleaned from w3schools and various web pages scattered around the web. I recall doing a lot of Googling while trying to figure out edge cases and such.