The language and tooling have improved a lot over the last few years - to the point where starting a new CRUD web project using Laravel is a good default choice unless you have very special requirements.
The language and tooling have improved a lot over the last few years - to the point where starting a new CRUD web project using Laravel is a good default choice unless you have very special requirements.
This type of thing happens all the time. In the UK you can work as an independent contractor for years then one day HMRC will randomly decide to make a case that you're were actually an employee the whole time and should have been paying a significantly higher rate of tax.
The UK tax system is not explicit and open to interpretation so these disputes happen all the time if HMRC sees an opportunity. Given government spending is out of control and raising taxes doesn't win political points the complexity and interpretability of the UK tax system is now frequently being used as a weapon against UK citizens and businesses to increase government revenue.
Uber paid their taxes as they understood UK tax law. Not legally complying with their UK tax liabilities as you suggest would obviously be insane. The issue here is that the tax system is designed to be exploited. At least in my opinion. People disagree with me though and believe that the complexity and interpretability of the tax system is done in good faith.
It's a mistake to think this just impacts businesses: https://www.qdoscontractor.com/ir35/gary-lineker-wins-ir35-b...
I assume you're referring to the IR35 laws - which were brought in specifically to combat a form of tax avoidance by highly paid contractors on long-term projects, who functioned exactly like employees (by being a contractor instead of an employee you could save a whole bunch of tax in the UK).
Yes, IR35 is a complicated pain - but everyone and their dog in the UK tech scene knows that contracting is/was the way to pay less tax. So it makes sense that HMRC is attempting to close the loophole.
> Uber paid their taxes as they understood UK tax law.
They were specifically attempting to use a loophole to avoid paying VAT the standard way (by claiming they're a "Tour Operator"). They've already lost multiple cases around the world for doing similar bad-faith interpretations of laws - so I think in this case it's Uber doing the exploiting.
This usually works by the PSP embedding iframes for the CC fields on the merchants site (so you're inputting directly to e.g. stripe.com)
Otherwise, all of the React server side rendering is static HTML.
If you pre-compile the HTML using something like Jekyll, so that the webserver is just serving HTML files without any dynamic/on-the-fly processing at request time, then it's considered static.
Text book example of being condescending.
This is your issue - PHP < 5.3 is very different to PHP 7+. Not just at the language level - but the community, frameworks and best practices too. No more random scattering of SQL statements in HTML files!
Modern PHP (with a framework like Laravel or Symfony) is probably one of the most productive ways to build web applications.
> It's not beautifully well thought-out the way Python is.
This is definitely an interesting take... Python hasn't even solved package management yet. And the 2.7 => 3 migration is probably the most famous example of making a mess of an ecosystem with backwards incompatible changes. In contrast PHP has Composer and 5.3 code is pretty much compatible with 8.0 (although ideally all code from the 5.3 era should be burned at the stake).
> and people who don't know any better keep championing it. I think people do eventually catch up with what's going on though as soon as they personally experience writing anything remotely serious (5-10,000+ LOC) that isn't a simplistic web-app.
You've basically just said that PHP devs are too inexperienced to be able to scale a codebase past 10k LOC? Pretty much every serious web dev using Symfony/Laravel would disagree with you.
That being said, this has nothing to do with stripe's software platform which this article focuses on, and all to do with credit card payment fees. Braintree charges "2.59% + $.49 per transaction". PayPal charges "3.49% + $.49 per transaction". Square payments charges "2.9% + $.30 per transaction".
When traveling to the US, it always strikes me how different public ads are. The US has more public ads and also much more aggressive ads. An ad for an injury lawyer would be unthinkable in Europa.
When did this happen? When I was in Munich a few years back there were poster ads for cigarettes everywhere. I remember them being not very subtle about their “smoking is cool” message.
That's pretty big one. Lot of JSON can be deserialized to basically bunch of objects with dynamic properties, since it's parameter in deserialization.
For example `json_decode("...", false)` where second parameter (false) explicitly says it should return object. After that it's typical to set values such as `$post->name = 'Name';`, which would now give warning and in PHP 9 an error.
Maybe we shouldn't characterize PHP as dynamic language after the change?
This is only for cases where you have a specific class like User, and you don’t want people setting random dynamic properties on it.
If you do you can also mark the class with an annotation to allow dynamic properties.
For context I spent years in my 20s doing start ups in London, and undoubtedly would have been better off financially now if I'd worked for some soul-sucking consultancy instead. I do agree with him that raising money in the UK is quite hard.