truly spoken like someone who has never worked on a large C/C++ project
- 1 Post
- 13 Comments
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
The first one ever was Lufthansa, the first one I flew with by myself was Korean Air
Lauchmelder@feddit.deto
World News@lemmy.ml•Fifa suspends Luis Rubiales from all football-related activity over Hermoso kiss
91·2 years ago“Certain people in France do this too, so this should be universally accepted behaviour. I am really smart”
Lauchmelder@feddit.deto
Technology@beehaw.org•"What do we do now?" - LMG's response to the recent controversies
34·2 years agoBrowse link aggregator website. Complain about links being aggregated
Lauchmelder@feddit.deto
Technology@beehaw.org•Built-in software ‘death dates’ are sending thousands of schools’ Chromebooks to the recycling bin
32·3 years agostill using things like Google Chrome or Chromebooks in 2023 is actually reckless behaviour. stuff like manifest v3 and the web integrity api just prove that google will use their monopoly to take over the open internet
Lauchmelder@feddit.deto
Selfhosted@lemmy.world•What is your machine naming scheme?English
1·3 years agoNot just for devices but also my hard drives, I use the names of stars. For example Rigel or Betelgeuse
I’ll give it a shot :) If I manage to make something useful I’ll share it
Ah, so someone needs to be actually subscribed to a community for their content to show up in All?
Alright I guess I’ll have to write a simple Bot that can do that for me then


source: i made it the fuck up