You seem to be emphasizing syntax rather than features of the languages and the stack itself. PHP was designed from the ground up for the backend side of web. Python, JS and Java were not. Many fundamental web development features are built into PHP like sessions, cookies, HTTP request variables, while a language interface server like Gunicorn or runtime like node is required to generate much of that from the incoming request and forward it to your application. Once it gets to your application either you or a library then needs to track those cookies, sessions, etc.. That's all built into PHP. So instead of a call sequence for a python/node app being request -> nginx -> Gunicorn -> python app, with PHP it's just request -> nginx/apache -> php app. There are plenty of other web-specific features that are dead simple in PHP like header redirects and HTML templating, whereas with python/node/java they have to be implemented by you, your framework or a language interface server.
I like index.php type websites, that are not verbose.
but PHP code that consists of 30+ composers modules, each with 10+ classes with overengineered OOP crap does not encourage me to touch this code with a 10ft pole.
This has devolved into js type of crappy coding, and I can use JS for that, dont need PHP.
I'm not exactly sure what you're suggesting, but blaming sloppy codebases you've seen is an unfair, cheap shot at the language instead of calling out bad developers, which applies to every language. PHP is inherently less complex than languages like JS and python for the backend and results in fewer dependencies because it comes with more features specific to web development out of the box. Quite literally no features required to build even a very basic dynamic website come with JS out of the box: sessions, password hashing, database connectors, input sanitizing, cookies, html templating, etc... It all needs to be either written by you or installed as a dependency. They're all standard features in PHP.
> And, as anyone who ever had to drive a car with a broken exhaust muffler can say, it's also nothing special...
Loud isn't the goal, the tone is. The Lexus LFA is a perfect example of this[1]. It's not extremely loud for a car of that caliber, but it's lauded as one of the best sounding cars ever made. Poorly designed exhaust (or no exhaust in the case of your broken muffler) on an otherwise great sounding engine almost always ruins the tone and makes it unbearable to listen to. Bad exhaust on a bad sounding engine is just miserable.
I wish this was actually the case in practice. There s definitely something special and musical about some ice engines, a true sensual experience.
But then in practice, people who actually value that (as in, pay money), their cars just ends up being loud and obnoxious.
So where are they, all these quiet, beautifully aurally tuned cars (emphasis on quiet)? Not everybody is driving thos3 lexusses just judging from the racket.
> So where are they, all these quiet, beautifully aurally tuned cars (emphasis on quiet)?
You won't notice them if you're not interested in cars, but there are tons of them and Lexus/Toyota are responsible for quite a few. The RC-F, IS500 and LC500 sound amazing, as did the GS-F and IS-F. Toyota also made some iconic engines such as the 2JZ-GTE in the MKIV Supra and the 2GR engine that Lotus used in the Evora.
> But then in practice, people who actually value that (as in, pay money), their cars just ends up being loud and obnoxious.
It's the other way around: There are plenty of cars that sound beautiful unmodified, and aren't unreasonably loud, but they tend to be the most expensive cars on the market.
So people often modify their cars to sound different, but getting a refined sound that way costs a lot of money. The cheapest modifications make the car sound terrible, so you're more likely to notice the cheap poorly modified cars than anything.
At the end of the day considerate people are going to drive any car quietly in a quiet setting. Inconsiderate people will start their car up in track mode at the crack of dawn on a Sunday morning and leave it to warn up for 20 minutes, and bounce of the rev-limiter going around town.
> remember the time when GM said it’s not going to include CarPlay in its vehicles? And how most of hn was in revolt?
Most OEM's made terrible infotainment software that is outdated, lacking features and often extremely sluggish and clunky to use. CarPlay and Android Auto are able to bring modern features OEM's can't seem to figure out, like Google Maps integration instead of some terrible maps implementation that is outdated, as in not having addresses added in the last few years, not just "old" and cumbersome to use. I can just open up google maps on my phone, type an address and directions appear on my screen. Same with music streaming apps like Spotify.
> here comes News that says we should get rid of touchscreens, why is hn supporting this?
Not eliminate touchscreens entirely, but rather stop putting every single control they possibly can into them making vehicles dangerous to operate. Putting climate, radio, lighting, etc... into a touch screen, especially when buried in sub-menus, is just lazy cost cutting. The other big complaint are touch capacitive "buttons" and sliders. They're distracting and difficult to use, especially on anything but perfectly smooth roads. For example, the Cayenne's interior is basically just a wall of touch capacitive "buttons"[1] that you can't easily reach down to press with your eyes on the road, you have to look down at it. The other issue is feedback from it. Constant beeping from input on menus, like Toyota, just becomes obnoxious. Buttons provide instant mechanical feedback that does't lave you guessing if you pressed on the right spot. Here's a clip discussing some complaints about VW doing all of this to the Golf [2] and how frustrating it is to use.
> If you have to tell a middleware what order it's supposed to run in with relation to other known middlewares, chances are the middleware system itself is a poor design.
That's just the chain of responsibility pattern [1] and I've only seen middleware operate that way. Why wouldn't you want control over the order?
+1 for Anthony's content. He even has a repository on github [1] with links to all of his videos for easier searching, and they're all labeled with a difficulty level. It's currently up to 520 videos!
Their writing style reminds of the youtuber Regular Car Reviews, and after reading their profile "about" section I'm now wondering if that's a possibility.
Just because someone spent a few tens of thousand dollars on an electric car doesn't mean they should be willing to drop $200 a night on hotels for a week straight.
My uncle bought a Tesla 3 (coincidentally, to replace his 20-year-old totalled Jetta) because he needs to drive several hours to the office a few times a month for 2-3 days at a time, and the silent climate control and flat trunk floor means he can cheaply and comfortably spend the night in his car rather than driving 3hr back home or renting a hotel room. It is also much cheaper to operate.
> Just because someone spent a few tens of thousand dollars on an electric car doesn't mean they should be willing to drop $200 a night on hotels for a week straight.
I disagree. In my opinion if you can't afford to do that a few times per year without financial concern then you have no business spending $60k+ on a car. Having to sleep in your expensive car just so you can afford a vacation is ridiculous. There are much cheaper alternatives that won't force you to sacrifice other aspects of your life, such as your $2000 car.
I'm not even going to comment on your uncle's situation. Let's just say I would be working somewhere else if I had to resort to that.
It's not financial concern. My uncle could definitely afford to rent a hotel room, but he doesn't mind sleeping in his car and he would rather spend that money on something else. Heck, I could afford a hotel too, but I would rather sleep in my $2000 car.
As per my uncle's situation, he works for the US army, is due to retire in a year or two with a full pension, and moved to be closer to family and friends. He mostly works remotely. It being the army, sometimes he has to go to the nearby base 20 minutes away, but other times he has to go to the far away base for some reason or another.
Or maybe, the person enjoys their car a lot more than they value a night at a hotel. Perhaps the extra value at a hotel versus sleeping in a Tesla is not worth the extra $200 per night. Someone wanting to save a few thousand dollars on a hotel is NOT the same thing as "financial concern". It's just a preference that is lot different than yours.
Many people with money spend huge amounts on some things but can be penny-pinchers in other areas.
Not sure why you are getting downvoted. I'm guessing the downvoters have never camped? TBH, quite a few people do this in Teslas, sometimes in remote areas.
> I honestly can't understand why people are so obsessed about types,
Types in Python feel like an added layer of confidence that my code is structured the way I expect it to be. PyCharm frequently catches incorrect argument types and other mistakes I've made while coding that would likely result in more time spent debugging. If you don't use any tools that leverage types you won't see any benefit.