Spoiler: this is a rant. 😂 I have tried to write a small side project in modern C++ recently. I wanted to have a proper setup with modern tooling and practices, in part because I wanted to see what the state of the art was for C++. So I settled on these tools: compiler: clang; build system: cmake; dependencies resolution: conan; unit test framework: I have adopted catch 2, because it looked quite simple; lsp: I have used clangd; linter: there seem to be multiple valid choices, but I have s...| Andrea Bergia's Website
Yet another article complaining about Go’s error handling.| MOND←TECH MAGAZINE
The dream of a single dialect-free C++ has probably been dead for many years, anyway.| MOND←TECH MAGAZINE
Language Server Protocol documentation and specification page.| microsoft.github.io
The ranges library is an extension and generalization of the algorithms and iterator libraries that makes them more powerful by making them composable and less error-prone.| en.cppreference.com
Using Clang-Tidy¶| clang.llvm.org
Error handling is a fundamental aspect of programming. Unless you are writing “hello world”, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null.| andreabergia.com
ClangFormat¶| clang.llvm.org
The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++| isocpp.github.io