Just looked up how to do callbacks in C++ and YOU CAN'T (unless you write a bunch of templates and wrappers yourself).
When you pass a pointer to non-static member function, yopu need to handle the class pointer yourself. This is like the simplest thing, why can't C++ have that?
Love how the ISO standard website just tells you "Don't". What a joke.
@sos@morten_skaaning The other answer would be of course "just use a lambda" because they work for pretty much all cases, even for C functions that can get a void*
I probably get flooded by asking this but welp, here I go:
I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, however I'd like to primarily work without it.
I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is #programming.
@Crell Only if necessary, it makes the learning process unnecessarily convoluted (harder to scrub through a video than a website and the pace is always changing).
10 years ago: Our monorepo is a pain to deal with. Changing one tiny thing here breaks something there!
5 years ago: We’re migrating to microservices. That way everything is decoupled and you can do what you need to.
3 years ago: Microservice maintenance keeps falling behind. We need some way to enforce service contracts between services but now our stack is too complicated to do full integration testing.
1 year ago: We’re proud to announce we’re migrating to a new concept: a monorepo!
@willhbr In this case I mean there was one repo where everything lived and that (often) contained the monolith application. Then as time went on the stack was switched to microservices with their own repos, but then maintaining the service contracts between them became more of a pain so then you end up back with one place to make changes because developers were tired of making 600 pull requests every single time they need to change a Dockerfile.
@Moosader stack/heap differentiation and memory allocation in general. I'm tired of things that complexity-wise would run on a C64 bringing my modern r9 with 128 gigs of ram to it's knees O_x