Skip to content

Should we standardize the value of the module label? #57

Closed Answered by hatchan
emschwartz asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think we can make this generic using file paths, for example you can have multiple modules in the same same file, all with overlapping functions names in there.

I think it make sense to leave it up to the implementation language to determine the best namespacing that makes sense for the language. So with rust you'd have something like $crate::module or $crate::module::Struct, and in typescript something like the path could make sense. We could add another label, or a prefix to the module, to indicate which language was used and thus have even less change of overlap.

I think it would be good to define module as a container in which the function is going to be unique. Then the module

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@emschwartz
Comment options

Answer selected by emschwartz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested standardization
2 participants