Plenary: Coping With Other People's C++ Code – Laura Savino – CppCon 2023



https://cppcon.org/
CppCon 2023 Early Access: https://cppcon.org/early-access
Access All 2023 Session Videos Ahead of Their Official Release To YouTube. At least 30 days exclusive access through the Early Access system. Videos will be released to the CppCon channel on a schedule of one video per business day, with initial releases starting in November.

Plenary: Coping With Other People’s Code – Laura Savino – CppCon 2023
https://github.com/CppCon/CppCon2023

Sometimes we’re fortunate enough to work with a small group of devs who share our coding values, and when we see their PRs come in, we nod along and say, “Yup, that’s what I would have done. Oh, nice, that one’s even better than my usual approach, I’d better tuck that idea away for next time.”

This perfect alignment is precious… and particularly elusive in C++. Most of us are living in codebases that are profitable, complex, and updated in ways with which we have legitimate beef. How can we keep a sense of curiosity, progress, and satisfaction amidst patterns we would never have chosen?

This presentation explores the often-overlooked social aspects of C++ development, offering both practical tools and light-hearted commiseration. We’ll draw from the field of behavior science to build strategies that address conflicting design patterns and the strong opinions that come with them.

Laura Savino

Laura Savino is a Photoshop engineer, globally recognized tech speaker, and expert in developer communications. She has adapted to both decades-old legacy codebases and beta versions of languages & frameworks. She’s worked with a team that replaced their data layer with a functional reactive model that erased all the types, transitioned from working on cutting-edge Swift to egregiously templated Objective C++, and once attempted to replace a series of sequential `#define`s with a well-scoped enum that had unintended far-reaching consequences. Rather than swearing off computers entirely, she copes by scouring peer-reviewed articles about psychopathology and occupational health.
__

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk

#cppcon #cppprogramming #cpp #code

source

17 thoughts on “Plenary: Coping With Other People's C++ Code – Laura Savino – CppCon 2023”

  1. Thank you for an inspirational talk.

    I totally agree there should be more diversity among the people participating at cppcon 👍(and in the industry).

    Regarding the topic at hand, I really enjoyed that part with people standing in a triangle and then changing to a more "C"-like form in order to welcome other people to the conversion. Personally I've always been the person that looks over my shoulder and if I see anyone incoming I move closer to the person on my left (not sure why I always pick left thou), but the approach presented here is actually less work and has the benefit of reducing the risk of missing the person approaching. So I'll definitely take that part with me.

    Take care and don't drop the baby.

    Reply
  2. There’s a lot of wisdom here. Great talk. There are a million talks on YouTube with code snippets to grok, but really internalising the content of this talk is the kind of thing that can change your professional life.

    Reply
  3. Honestly there were a few good parts in this talk which are really helpful for navigating this complex landscape of people. But as soon as we drifted towards, we need more people of "XY" here, then it lost me a bit. Not because i don't want to see these people up there, but more because proportionally there are just not a lot of people from these groups. This has many reasons, but in general there is such a big focus on pushing certain groups nowadays, that it starts to build this culture where every group needs to be existing in equal parts. It has gotten so bad in some places that focusing pushing these groups forward is to the detrement of the majority of people that work in this industry. There are legal debates in universities and workplaces if it is ethical to have someone be preferred just because they belong to a specific group of people. And i do not think that this is a solution. Yes, we need more equality, but equality goes both ways. So why do we not push that we are all the same and it doesn't actually matter where we come from or who we are. Why are we over and over focusing on the fact that these are people belonging to a minority, instead of pushing the fact that we are in fact all made equal and there shouldn't be any difference. But at last this will be a debate fought for multiple generations to come. Please start working towards the equality for the people and not forcing at outcome where it currently doesn't exist. Because personally especially in this context, i do not give a single damn where a person comes from or whatever they feel about themselves if they give a good talk, because that's the only thing that matters in this context, and that should especially be the focus of the talks. Providing good and helpful information and helping people excell to their best selfs.

    Nontheless i hope in the future we will have more equality for ALL the people and can finally go back to having constructive discussions, which will help us (as in every human being) to become our best selfs. So that we stop discussing our differences and start discussing what we can achieve if we work together as humans.

    Because in the end that's the only fact that matters, we are human.

    Reply
  4. I struggled with this talk a bit as it is not technical, but from my work experience most problems are not technical but social. As she points out, changing codebases relies a lot on building consensus, integrating people in the team and not frustrate others. So in conclusion she gave a lot of valuable advice Especially if you want to be a professional developer with an impact larger than your own coding skills.

    Reply
  5. There are a LOT of devs out there who could be more purist if they extended just the tiniest bit more effort, and I can't understand them at all. Does it really take that much longer to think about the semantics of your code and how other people will read it? Does that "extra" amount of time REALLY matter?

    Reply

Leave a Comment