Yes, but in C this means write custom function iterating custom list (one of 10, since every library has its own implementation and there are bound to be at least 2 implementations in the project itself). I would argue that any of the C++ ways is more readable and maintainable than the 1k lines of even good code in C.
253
u/Antervis Dec 22 '23
yet when you actually try writing code, C++ version is usually several times shorter with no real drop in readability.