3 ms·
How do you easily glance at a stack trace and know if it is your own code or a 3rd party library's code? Named functions definitely help a lot.
by jtchang 11y ago
How do you easily glance at a stack trace and know if it is your own code or a 3rd party library's code? Named functions definitely help a lot.
- Killswitch 11y agoBecause at a glance, it's easier to see the path of the file as an identifier than the name of the function. Function names are not unique throughout the codebase and dependencies. Lots of dependencies have the same named functions.