A tale of two data-corruption bugs
A tale of two data-corruption bugs
Posted Jun 8, 2015 13:22 UTC (Mon) by zlynx (guest, #2285)In reply to: A tale of two data-corruption bugs by parcs
Parent article: A tale of two data-corruption bugs
Which means that as a C++ programmer you realize that you always need to check the function declaration. Always.
It isn't a bad idea to do it for C either. Sure you can see that you are using the & to create a pointer and pass it to a function. What do you do for the second level function that passes that pointer to a third level? No visual indicator there at all.
