alextingle
With a small program, it's rarely difficult to work out what's going on. If your small program develops a performance problem, it's usually fairly tractable to work out what's going on, and modify it. In extremis, you can just rewrite the whole thing.
Large programs are another matter. Hidden control flows in C++ (for example) can make pinning down performance problems extremely difficult. And then widespread refactoring can be extremely challenging.
Zig forces everything to be an explicit interface, which should make maintenance work on large programs much more tractable.
It seems wild to me that a (subjectively?) pretty-looking site will make more money, even if it's excluding a large proportion of its potential users by ignoring localisation, or usability.
I'd love to see the studies you base that on.
Don't dig yourself further into that hole by slinging "bad faith" around willy nilly.
Furthermore, I'm not in the US, but "US politics" doesn't seem to have much left wing about it either.
I think you'll find that some of them actually are locked up, and a few of them are dead.
That's much more than taxis cost in the UK, and pretty expensive even for the Netherlands. You have great cycling infrastructure, and public transport though.
Renting a car is an affordable alternative to ownership, if you need to go to occasional concerts or birthday parties, and public transport happens to be inconvenient for your specific destination. I did that for years - the rental company would deliver and collect from my workplace, so it's super-easy.
> If your children play football you really need a car.
A friend of mine used to ferry his son 1000s of km per year to ice-hockey matches around the country, so I know what you mean. I don't understand it though - if the whole team is travelling, why don't they just rent a bus? Personally, I don't think it's healthy for a child's hobby to consume so much of the parents' time - of course, your choice.
On what planet is getting your groceries on a bike "more privileged" than driving?
It's fine as a personal project, but as soon as you get other people using your new code, they'll be exposed to all the bugs that you are inevitably creating.
Honestly, this kind of "rewrite something battle tested in my favourite language" project is dangerous and insane.
You can just look at the code in front of you to see what defer is doing. With destructors, you need to know what type you have (not always easy to tell), then find its destructor, and all the destructors of its parent classes, to work out what's going to happen.
Sure, if the situation arises frequently, it's nice to be able to design a type that "just works" in C++. But if you need to clean up reliably in just this one place, C++ destructors are a very clunky solution.