truly spoken like someone who has never worked on a large C/C++ project
- 0 Posts
- 19 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
Kann gut sein, ich hab für meinen Eigenbedarf noch nie industrielle Mengen an Knoblauch gehackt. Wird vielleicht mal Zeit
Wenn man den Knoblauch sowieso hackt kann man ihn auch mit dem Messer zerquetschen und die Haut danach einfach wegnehmen
Dennoch müssen Adjektive wie “blond” entsprechend dem Geschlecht inflektiert werden. “blonde actress” und “blond actor” sind richtig, wohingegen “blond actress” ungrammatisch wäre
Lauchmelder@feddit.deto Memes@lemmy.ml•diminishing returns but here's day 5 of stock photos memesDeutsch2·2 years agoin what backwards country are cashiers not allowed to sit down ???
Lauchmelder@feddit.deto DACH - jetzt auf feddit.org@feddit.de•[DE] Nach Farbattacke auf Berliner Weltzeituhr: Senat sieht Klimaaktivisten „als Sicherheitsrisiko für die Stadt“Deutsch11·2 years agoexakt, wie jemand anderes hier schon geschrieben hat ist das nur ein totschlagargument
Lauchmelder@feddit.deto DACH - jetzt auf feddit.org@feddit.de•[DE] Nach Farbattacke auf Berliner Weltzeituhr: Senat sieht Klimaaktivisten „als Sicherheitsrisiko für die Stadt“Deutsch211·2 years agolaut dem artikel liegt das daran dass polizisten sich aktuell um die israeliten in berlin kümmerm müssen und keine Zeit haben sich mit aktivisten zu befassen. der logische schluss ist dass die aktivisten israeliten gefährden, scheinbar
A law like this would violate the rights of all EU citizens. The courts would (should!) strike this law down immediately
“Liegt das Problem darin dass ich über etwas komplett anderes rede?” Ja kann schon gut sein
I go to self checkout because my closest supermarket has one cash register and the queue is always like 6 old people
I think that’s sage and not lavender
Lauchmelder@feddit.deto World News@lemmy.ml•Fifa suspends Luis Rubiales from all football-related activity over Hermoso kiss91·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 controversies34·2 years agoBrowse link aggregator website. Complain about links being aggregated
Lauchmelder@feddit.deto Open Source@lemmy.ml•Visual Studio Code alternatives for Linux?English101·2 years agoI 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
it’s unmaintained