submitted by SithEmpire to C4 weeksApr 1, 2025 16:23:31 ago (+18/-0) (C)
In part to combat the wave of junk articles crapped out by generative AI with examples using the most faggy language (python) ever designed, I decided to start showcasing various aspects of C++, easily my preferred platform.
It has its oversights and shortcomings I'll also present, but generally C++ has a respectable, formal style which helps the compiler produce performant and efficient binaries while also exposing the abject peasantry of various other languages once you get to know it. Exactly as human language was more well-spoken decades ago, so too was computing language, to the extent that using other platforms seems like writing foul-mouthed vulgarity in comparison.
This is also sort of a test-post to see how well the site formatting system handles code (I tried it in a message to myself but the formatting doesn't work there).
` #include <iostream>
int main(int, char**) { std::cout << "The iostream syntax is weird, but allows for some compile-time checks and runtime safety.\n"; std::cout << "Terry Davis was right about it being niggery compared to printf though.\n"; return 0; } `
If the code delimiters don't work, it'll probably interpret the pointer asterisks as bold text, or perhaps the include directive as a HTML header level.
If the `code` doesn't work, it's because you have a messed-up C++ compiler resulting from another attempt at Embrace-Extend-Extinguish. For sake of argument I'm using GCC g++, but in general a compliant compiler ought not require preprocessor directives specific to itself.
C++ isnt even a proper pbject oriented language, neither is Java or C#. The fixed types make these languages a terrible idea for large projects, hence why aspect oriented programming was invented and then dropped. I think C++ is the most faggy language out there of any sizeas it is C with objects, possible outperformed by being faggy only by golang (with that gopher....).
BrokenVoat 0 points 4 weeks ago
C++ isnt even a proper pbject oriented language, neither is Java or C#. The fixed types make these languages a terrible idea for large projects, hence why aspect oriented programming was invented and then dropped. I think C++ is the most faggy language out there of any sizeas it is C with objects, possible outperformed by being faggy only by golang (with that gopher....).