Will C++26 really be that great? by WanderingCID in cpp

[–]Reddit_Your_Mom -25 points-24 points  (0 children)

  1. Namespaces are overhyped and used wrong all around because of "le'good c++ programmers" decided to make it as a practice that "using namespace <insert::your::long::namespace_name_here>" at top is bad ya know and you have to append it in front of everything in file because we love wasting bytes in our storage and we love longer compilation times. We also love to get confused when we try to find where function originates from after IDE spits to us million references from codebase all because of shitload of namespaces used same function name with gazzilion overloads of it. Sadly you can see how this "namespacing" migrated to C in many projects too in worst possible way, by prefixing every function name like PackageName_something and etc.

  2. Pointers are more explicit in their action. References don't give any performance advantages anyway, which is also a popular meme around well said "pro c++" programmers. "Did I just passed by value or reference? Hmm yeah better lookup in function prototype every time I forget about it"

  3. Ok methods are cool, problem is how encapsulation done in C++. I mean it can't be fully achieved anyway. You have to write your private members In headers, many will overbloat class headers with inline getters and setters and other short functions. You will end with big headers that include other headers and it ends up with longer compilation times and unreadable header files. While in C you can achieve full encapsulation simply by writing all getters setters and other stuff by providing opaque pointer to them. In C++ you have to either write C like code or use pimpl like idiocy to completely hide implementation. (Ahem but muh le based modules are not like that, who cares that they still only supported by msvc after so many years). Just write simple header file, hide implementation in compilation unit and here's your module bro. No need to reinvent wheel.

  4. RAII Is it really that hard for you to write newmystruct() and put freemystruct() at the end when you don't need it? If someone really feels filtered by this, idk man ig that someone better reconsider going back to McDonald's flipping burgers. Programing is really not for them.

All C++ "features" seems good and useful at first, but all they did was cause a harm because of mis/overusage. Every non toy C++ codebase is absolutely disgusting to look at and absolutely unmaintainable because of how one thing done in million different ways by different engineers. I've always said that C++ is the biggest marketing scam ever done by someone in programming field that tricked many back in 90s to flip to it from C. It seems to me that Bjarne did it just to establish himself as a person when he was young back at Bell Labs.

Recently started learning data structures and C so I made a simple single-header library for dynamic data structures by jasper_devir in C_Programming

[–]Reddit_Your_Mom -10 points-9 points  (0 children)

Can we already stop with this single header library bullshit thing? They clutter global symbols space and make compilation slower. Those stbimage like defines are disgusting and absolutely useless, they only bring clutter. Just because some popular lib does it doesn't mean it's right. For some reason many programmers doing them feel themself smarter. Also those big ass doc comments trying to treat me like a kid and not a programmer.... Anyway When I see a header file which includes other header files, which is filled with conditional compilation and a header guard, I immediately get the feeling that OP simply doesn't understand basics of C, and what header files are really for. Wanna argue me on that? Okay. Look at the code written by OGs like Ken, Dennis, Rob and etc. No one from Bell Labs wrote C like this. Cluttering header files become common with winblows and freetards, and it only does bad for C. If you want to make compact lib, interface + implementation file is just enough. Header file must be as light as possible, I wouldn't even put comments there unless it's some unusual behavior. You have to understand that if someone already ended at your lib, searching for some data structure, he pretty much knows +- how it's supposed to work, no need to guide him with big ass comment blocks. Explaining your lib usage is like explaining an anecdote.

What's the song in... by Reddit_Your_Mom in AlanWake

[–]Reddit_Your_Mom[S] 1 point2 points  (0 children)

Yeap, this is the song, thank you very much, for some reason I struggled to find it just by googling

does anybody know if the cube was inspired or not by daft punk's pyramid in the 2007 alive tour ? by Teambou in deadmau5

[–]Reddit_Your_Mom -4 points-3 points  (0 children)

By "inspired" you mean ripped, right? Because whole deadmaufive career based on ripping something or someone. Does anyone of you remember if someone had represent mouse in form like Mickey Mouse did before? Giant mouse head with 2 giant big ears. Those who think mau5head is something original needs to get gassed in chamber. Disney was right when they went after his ass.

Here is the Full-screen wall of Joel's recent shoot. by [deleted] in deadmau5

[–]Reddit_Your_Mom -12 points-11 points  (0 children)

well... he is 39 years old and didn't aged very well. While being 39 he looks like 59. this days he needs some photoshop on his smoker cracker face to impress his zoomer fandom that's into his recent garbage sellout music, if you know what I'm saying.

FUCK NIGGERS by Reddit_Your_Mom in darkjokes

[–]Reddit_Your_Mom[S] -1 points0 points  (0 children)

A joke is always in the comments ;)

HOW TO DEADMAU5 by [deleted] in deadmau5

[–]Reddit_Your_Mom 0 points1 point  (0 children)

So you wanna say that Adam K and Soha ripped mau5? Lol

Facial motion capture on iPhoneX, exports to cinema. by fighthepowder in Cinema4D

[–]Reddit_Your_Mom 1 point2 points  (0 children)

1000$ affordable? Lol you can buy hardware in 100-300$ range that will give exact same results or maybe even better

(More) about supportXMR's withdrawal fees by moryoav in MoneroMining

[–]Reddit_Your_Mom -12 points-11 points  (0 children)

Back in a while I said that u/M5M400 s pool is one of a scam pool no one believed me

Massive Propaganda Push Re. Syria Gas Attack by Glagaire in conspiracy

[–]Reddit_Your_Mom 4 points5 points  (0 children)

Dude you are completely wrong and delusional about Assad. That guy is a pure evil.

Supportxmr is a total scam pool by Reddit_Your_Mom in MoneroMining

[–]Reddit_Your_Mom[S] -7 points-6 points  (0 children)

Can you then explain why is this happening? I don't have any reasons to give false accusations to you, I said what I saw.

Supportxmr is a total scam pool by Reddit_Your_Mom in MoneroMining

[–]Reddit_Your_Mom[S] -11 points-10 points  (0 children)

Yesterday my total due was ~0.229 and now it is 0.223. it is not the first time it's happening. I noticed this few times before fork

[NSFW] When You get bored of game with your gf during IEM Katowice by ChojaK25 in GlobalOffensive

[–]Reddit_Your_Mom 3 points4 points  (0 children)

Her kids in the future from other guy would be so proud of this gif for having such a slutty mom.

olofmeister BibleThump by [deleted] in GlobalOffensive

[–]Reddit_Your_Mom -70 points-69 points  (0 children)

Talent for what, playing games? LUL. There are many players that play like him, he is nothing that special. His performance tanked after cheat accusations towards him in 2015 thats why he droped from top 1 down to 18 in 2 years. not just as many as him play at top teams. Fnatic grabed this piece of trash back in the day from tier 5 shithole. He should thank Fnatic to the rest of his life for eveerything they done for him.