4 ms·
> You get a great language to develop in Every single footgun from PHP but wrapped in a nice syntax so people don't understand they are in danger. I'm deeply
by skinkestek 2y ago
> You get a great language to develop in
Every single footgun from PHP but wrapped in a nice syntax so people don't understand they are in danger.
I'm deeply impressed by the Javascript community. What they have managed to create using a that language is amazing.
But please people, do yourself and everyone who ever has to touch your code base a favor and use TypeScript.
- spiderfarmer 2y agoWhy are you dragging PHP into this?
- skinkestek 2y agoBecause people know they are supposed to dislike PHP. So I am just taking advantage of that to help spread awareness about the JS problems.
- spiderfarmer 2y agoThe people who disliked PHP are the ones who created the gargantuan JS mess. Meanwhile, PHP became the only sane development environment.
- withinboredom 2y agoWe're supposed to dislike PHP? Have you tried it in the last 5-6 years?
- turnsout 2y ago…and all of a sudden you have a build step. This is how it starts.
- em-bee 2y agoyou can use fully featured frontend frameworks without a build step. while that may sound ingenious because you are effectively using a prebuilt version of the framework (so there is a build step somewhere) you are not suffering the problems that come with building it yourself. instead your code is used and stored in a way that it will work directly in the browser as long as browsers support javascript.
- turnsout 2y agoI was responding to the suggestion to use TypeScript. If you use TS, you have a build step.
- withinboredom 2y agolol, the php footguns exist in every language. I'm not sure what you mean by that.