Lauchmelder

joined 1 year ago
[–] Lauchmelder@feddit.de 1 points 5 months ago

idk man, requiring visa on arrival or an eVisa is kind of an important distinction

[–] Lauchmelder@feddit.de 3 points 5 months ago

source: i made it the fuck up

[–] Lauchmelder@feddit.de 3 points 7 months ago (2 children)

truly spoken like someone who has never worked on a large C/C++ project

[–] Lauchmelder@feddit.de 6 points 7 months ago

not saying it's good design, I ditched C++ long ago. at least the C++20 modules API is gonna fix this, right guys?

[–] Lauchmelder@feddit.de -2 points 7 months ago (1 children)

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

[–] Lauchmelder@feddit.de -3 points 7 months ago (8 children)

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.

[–] Lauchmelder@feddit.de 41 points 7 months ago* (last edited 7 months ago) (18 children)

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

[–] Lauchmelder@feddit.de 2 points 8 months ago* (last edited 8 months ago) (1 children)

it can compute how often I needed to compute the value of calling a function an infinite number of times.

println!("0");
[–] Lauchmelder@feddit.de 2 points 1 year ago (1 children)

in what backwards country are cashiers not allowed to sit down ???

[–] Lauchmelder@feddit.de 147 points 1 year ago* (last edited 1 year ago) (6 children)

A law like this would violate the rights of all EU citizens. The courts would (should!) strike this law down immediately

[–] Lauchmelder@feddit.de 2 points 1 year ago

I go to self checkout because my closest supermarket has one cash register and the queue is always like 6 old people

view more: next ›