Bogus5553

u/Bogus5553@lemm.ee
4 posts · 46 comments

Recent posts

Recent comments

on Breaking News · c/programmer_humor · 5 pts · 1y

I like lower languages as well well, but everything doesn’t need to be built in C/C++/Rust and so on.

on unsafeCode · c/programmerhumor · 3 pts · 1y

I personally think that C++ can be beautiful. For example: std::filesystem::path overrides the / operator, for specifying parent paths. It’s the same as Kotlin’s OKIO and Pythons standard pathlib.

on unsafeCode · c/programmerhumor · 4 pts · 1y

void main(){...} is not in the standard, but works on both MSVC and GCC (with warnings). I think it works on both C/C++, but you really shouldn’t use it in production. Just use int main(void){...} , without any return value, which is permitted in the standard, and will return success iirc.