As someone who mostly avoids JavaScript, I don’t see the IT in this image, I just see a bad language I avoid!
As someone who mostly avoids JavaScript, I don’t see the IT in this image, I just see a bad language I avoid!
LOL, I’ve actually heard of it, but I have not played it. Ofc that game never even crossed my mind when writing my comment haha. I suppose choose your own adventure style books also fall into this category.
Even with 2D games that’s basically impossible. Only time it could work is with turn based games and then…you end up with this post lol.
Is it rarer? I think a lot of modern languages go for the first option but pretty much all C style languages use the latter. It’s probably a wash for which is more popular I’d think.
Ok but, in the second example you typically just put final or const in front of the type to denote immutability. I still don’t see the advantage to the first declaration.
You aren’t though. In most languages that use the latter declaration you would prefix the declaration with final or const or the like to specify it won’t be updated.
Can I just say it’s hilarious you marked this NSFW, it is quite literally NSFW
Yeah that’s completely fair and makes sense to me. I just know I’ve come across stuff where people are talking about it like they’re the same language. This seems to be especially prevalent in windows development where the C support is pretty poor in comparison and tends to kinda be lumped into into C++.
…so that leads to another annoyance of mine. The insistence that there aren’t two languages but indeed one named C/C++. Obviously I’m being a bit sarcastic but people blur the lines HEAVILY and it drives me crazy. Most of the C code I’ve written is not compatible with C++…at least not without a lot of type casting at a bare minimum. Or a compiler flag to disable that. Never mind the other differences. And then there’s the restrict keyword, and the ABI problems if the C library you’re using doesn’t extern C in the headers…etc etc… -_-
I really wish more projects would use .hpp to differentiate from C headers. It’s really annoying to have a single header extension blend across two incompatible languages.
I’m assuming by this you mean the developers of JS /s