Skip to content

Naming convention #2606

Answered by kgryte
svallory asked this question in Q&A
Jul 15, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@svallory Thanks for opening this discussion. Where are you referring to, specifically? Documentation, namespace?

Looking at the docs and namespace, it does look like we are inconsistent here:

setReadOnly( utils, 'trycatch', require( '@stdlib/utils/try-catch' ) );
.

In this particular case, I don't think we have a rationale for diverging conventions. I'd be inclined to update trythen and trycatch to tryThen and tryCatch, as this seems preferable to tryfunction and tryrequire.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by svallory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants