3 ms·
I would rather have misc.foo (or in python terms, from misc import foo), than this_is_a_unique_function_name_that_does_foo, or '0000100302foo' with a ton of met
by falcolas 16y ago
I would rather have misc.foo (or in python terms, from misc import foo), than this_is_a_unique_function_name_that_does_foo, or '0000100302foo' with a ton of metadata to explain what it does and why it's better than every other similar function.
I'm trying to imagine visually parsing a program where the function names are merely unique identifiers that don't necessarily relate to their function, and it's not going well.
- seiji 16y agoThe function names would still be user readable. The compiler and/or runtime would translate what you say to what you mean (think c++ mangling).
- d0m 16y agoFrom what I understand, it'd be more: from global_database import foo291 as foo and you'd have lots of meta information associated to foo291 so you could easily find it by doing: db-search blah
- bartonfink 16y ago<quote> I'm trying to imagine visually parsing a program where the function names are merely unique identifiers that don't necessarily relate to their function... </quote> Just to be pedantic: you're doing this already. int add(int a, int b){ return a - b; }