HN user

lefty2

66 karma
Posts0
Comments53
View on HN
No posts found.

c++ 03 was a lot easier.

For instance, if you want to avoid unnecessary copy operations when returning a string, just return it in variable that you pass by reference (eg. void doSomething(string& str);) likewise avoid the vector class making unnecessary copies, simply by creating the objects on the heap and use a vector of pointers instead of values. It's a bit more ugly, but it works, and you don't need to read a 24 page blog to understand all the corner cases where it can go wrong. modern c++ is all about syntactic suger.

Tanks don't really make any sense. MBTs are designed to fight other MBTs. Out of the thousands of tanks that have been taken out in Ukraine, 99.999% has been by drones, artillary or ATMs. You can count the tank versus tank battles on the fingers of your hand. Wouldn't make more sense to evenly distribute the weight of the armour, so the back and top are reasonably armoured, rather than have foot thick armour in the front to stop rounds from other MBTs - a scenario which literally never happens.

I'm surprise people say it had gory videos. I've being watching Liveleak for the last year. There were hardly any videos with violence and gore. The videos could be classified into 4 categories: traffic accidents, drunk/stoned people doing stuff, police cam recordings, industrial accidents (cranes, ships crashing etc.)

OpenGL Superbible 5 years ago

Vulkan is way too much for most indies

I would not say that at all. The biggest disadvantage of Vulkan is that it doesn't support old GPUs

Ireland, Luxembourg and certain other countries are complicit in this

Most people don't realise it's US tax law which allows US companies to defer paying taxes on foreign profits indefinitely. Without that law there' would be no loophole.