truly spoken like someone who has never worked on a large C/C++ project
truly spoken like someone who has never worked on a large C/C++ project
not saying it’s good design, I ditched C++ long ago. at least the C++20 modules API is gonna fix this, right guys?
pretty sure the meme is about how the implementation looks ugly but using the implementation looks good because all the code is abstracted away. if it was like you said then why would they compare the code to the main.cpp
The reason is that header files are pretty much copy/pasted into your c files when you include them. so the code in them keeps getting recompiled for every c file, which drastically increases overall build times. If you only declare in the header and have one c file implementing the functions you compile them only once.
Why are you putting the implementation in the .h file? You’re supposed to declare in the header and implement in the .cpp files. The meme is reversed
I go to self checkout because my closest supermarket has one cash register and the queue is always like 6 old people
1899
It’s a mystery show made by the same people that made Dark and I was so down for it. Then Netflix cancelled it after season 1
I think that’s sage and not lavender
The first one ever was Lufthansa, the first one I flew with by myself was Korean Air
“Certain people in France do this too, so this should be universally accepted behaviour. I am really smart”
I wouldn’t exchange my neovim config for anything. After getting used to how vim works and installing all the plugins I need, I feel like this is my favourite editor. It looks nice and I enjoy using keyboard shortcuts over using a mouse.
That said, the day I lose my neovim config is the day I die. If it disappears I’m doomed
source: i made it the fuck up