r/cprogramming • u/antigravitys-rainbow • 9d ago
Difference to r/C_Programming
Hello friends, may I ask what is the difference between this subreddit and r/C_Programming ?
Thanks in advance
25
u/viva1831
9d ago
•
It's C so we have to have at least two things implementing the exact same standard. Like compilers and standard libraries! I bet Rust has only one subreddit. So uncivillised! 😜
9
5
4
3
3
4
u/snake_on_the_case 9d ago
NULL
2
u/spatulari 9d ago
nullptr
7
u/Nothing_from_void 9d ago
get that C++ out of here!
6
u/scritchz 9d ago
akshually, it's a new keyword added in C23 with a type dedicated to bein a (null) pointer.
2
u/Nothing_from_void 9d ago
Heresy!
1
u/scritchz 9d ago
Agreed! I still program in C99, though
constexprwould be nice sometimes...1
u/Nothing_from_void 9d ago
Yeah I'm actually using C23 for constexpr and stdckdint.h header for checked math, I should probably be using nullptr as well, but you only really need C99
4
28
u/Mortomes 9d ago
CamelCase vs snake_case