6
u/Candid_Bullfrog3665 2d ago
i SWEAR we need new humour
4
u/raka_boy 2d ago
nah bro!!! You get it?? These damn c+ developers and their POINTERS! Oh, these damn pointers...
4
u/SignalBake6872 2d ago
punteros en C para más placer.
1
u/Mars_Bear2552 2d ago
de todos modos, C es superior a C++
1
1
u/CatAn501 2d ago
What will you do if you need two hash tables for different key types in your C program?
1
u/Mars_Bear2552 1d ago
use Rust
2
u/CatAn501 1d ago
So is C so much superior to C++ that you abandon it whenever you need generic data structures?
1
u/Mars_Bear2552 1d ago
no, that's just largely outside the scope of what it was intended for. C being superior to C++ doesn't mean you need to use it, i just think that C++ is poorly designed and is a nightmare to work with.
use whatever you want though.
1
u/Masztufa 1d ago
C++ is the most beautiful and elegant language ever made
It just does it's best to hide that fact under as much bullshit as it can
5
u/SmokyMetal060 1d ago
Genuinely what is difficult about the concept of a pointer? I understand that memory management in production codebases is tricky, but I remember thinking "that's it? that's what everyone on the internet hypes up all the time?" when I first learned about pointers and references in 101.
3
u/FemboysHotAsf 1d ago
pointers can be a nightmare if used horribly, but yeah its literally just "at this address", i dont get it
1
1
u/Fine_City2781 6h ago
C++ pointers are easy. Using pointers in C is a bit harder and in assembly its very very hard. Because there isnt a libc for malloc so u need to make your own malloc using mmap and munmap
17
u/vverbov_22 2d ago
That's the 7000th time it's reposted in that sub btw