• 0 Posts
  • 30 Comments
Joined 1 month ago
cake
Cake day: August 30th, 2025

help-circle



  • There are a couple of things I do agree with in regards to the comments in code. They aren’t meant as a replacement for documentation. Documentation is still required to explain more abstract overview kind of stuff, known limitations etc. If your class has 3 pages of text in comments at the top, that would probably be better off in the documentation. When working with large teams there are often people who need to understand what the code can and can’t do, how edge cases are handled etc. but can’t read actual code. By writing proper documentation, a lot of questions can be avoided and often help coders as well with a better understanding of the system. Writing doc blocks in a matter that can be extracted into a documentation helps a lot as well, but I feel that does provide an easy way out to not write actual documentation. Of course depending on the situation this might not matter or one might not care, it’s something that comes up more when working in large teams.

    Just like writing code, writing proper comments is a bit of an art. I’ve very often seen developers be way too verbose, commenting almost every line with the literal thing the next line does. Anyone who can read the code can see what it does. What we can’t see is why it does this or why it doesn’t do it in some other obvious way. This is something you see a lot with AI generated code, probably because a lot of their training was done on tutorials where every line was explained so people learning can follow along.

    This also ties in with keeping comments updated and accurate when changing code. If the comment and the code doesn’t match with each other, which one is true? I’ve in the past worked on legacy codebases where the comments were almost always traps. The code didn’t match the comments at all, sometimes obviously so, most times only very subtle. We were always guessing was the implementation meant to be the comment and the difference just a mistake? The codebase was riddled with bugs, so it’s likely. Or was the code changed at a later point on purpose and the comments neglected?

    Luckily these days we have good tools in regards to source control, with things like feature branches, pull requests with tools that allow for discussion and annotation. That way at least usually the origin of a change is traceable. And code review can be applied before the change is merged, so mistakes like neglecting comments can be caught.

    Now I don’t agree with the principle of no comments at all. Just because a tool has some issues and limitations doesn’t mean it gets banned from our toolbox. But writing actual useful comments is very hard and can be just as hard as writing good code. Comments also aren’t a cheat card for writing bad code, the code needs to stand on its own and be enhanced by the comments.

    It’s one of those things we’ve been arguing about over my entire 40 year career. I don’t think there is a right way. Whatever is best depends on the person, the team, the system etc. And like with many things, there are people who are good and people who suck. That’s just the way the cookie crumbles.











  • The real genius behind VAT is that it isn’t just applied to transactions between business and consumer, but to all transactions. The rule is normally very simple, it’s applied to all transactions, with few exceptions. The rate can vary, but those rules are also usually very simple. The trick is: When a business has a transaction with another business, VAT is still applied, but the selling party has to levy the tax and forward it to the government and the purchasing party can ask the government to give back the tax they paid on the transaction.

    This may seem a bit convoluted, where the tax goes through the government only to end up back in the business. But this ensures the tax is applied always. Normally a profitable company would sell their products for more than the components they purchased. The difference between these two is the value added. And by getting back less from the purchases as what they have to pay for sales, the tax is only applied to the value added. And for consumers it functions as a sales tax, being applied to all transactions and no way around it.

    This system is way harder to mess with than any other form of sales tax. The rules are simple with few exceptions and thus very easy to reinforce. It’s also a more fair system, where each party in the chain pays a part instead of the consumer paying for all of it.

    In the end the consumer pays most, but as the taxes are supposed to be used to make their lives better, it seems like a fair deal? Now if you have a government that’s more about filling their own pockets than actually doing what they need to do to improve the lives of the people living there, well then you are going to have a bad day. But that doesn’t happen in civilized countries right?





  • But the kicker is: the vehicle can be bought by any company. You can just start a business that doesn’t do anything, get a car in that business’s name for a reduced fee, and drive it whenever you want.

    This isn’t completely true.

    First of all, company needs to pay for the vehicle, so one would have to put the money into the company. This comes with consequences for tax purposes and one obviously needs to have the money ready. A lot of cars are bought on a loan, this won’t work in this setup. Same with trading in the previous vehicle, that won’t work unless the company was the owner of that vehicle as well (and companies usually get terrible trade in prices). Then there’s the issue where the car can’t be used for personal trips, only for trips related to the company. There needs to be an administration and trips need to be convincingly for the company. The owner can opt to use the vehicle for private trips if he wants to, but then needs to pay the taxes, just like anyone driving a car they got from work. A company that doesn’t do anything also can’t exist. At the least there needs to be an administration and taxes. This will have costs attached. It’s also required for the company to pay the primary employee (owner) for the work he puts in, this is mandatory. There are ways to postpone these payments, but at some point they need to get done. A completely empty company that does nothing is usually a vehicle for tax evasion, so it will face frequent inspection.

    Now there are workarounds with grades of legality, but overal it isn’t worth it just to prevent the tax on a new car.

    The reason for the license plates is the way these are imported. They use the Individual Vehicle Approval (IVA) loophole to import the cars. That way they don’t have to comply with normal regulations. It’s a terrible loophole that needs to be closed off asap.

    We also need a max emissions, max size, max weight and max noise restrictions on all cars. It’s getting terrible out there. Especially some of those new huge Range Rovers are terrible, those are actual tanks and people inside are so cut off from the rest of the world they don’t even notice how much they are speeding and how reckless they are driving.