You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this would be clearer when perusing the docs, it would be obvious which are the case conversion functions. Plus when spoken the formats are always referred to with the word "case" so I think it reads naturally. In fact the tests and benchmarks actually refer to the cases that way, e.g.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
If there are upcoming breaking changes anyway, maybe consider renaming the string case functions to:
I think this would be clearer when perusing the docs, it would be obvious which are the case conversion functions. Plus when spoken the formats are always referred to with the word "case" so I think it reads naturally. In fact the tests and benchmarks actually refer to the cases that way, e.g.
radashi/tests/string/pascal.test.ts
Line 16 in 24b3406
Of course this would come at the cost of making one's code a little denser / more wordy, so that's a tradeoff to consider.
Beta Was this translation helpful? Give feedback.
All reactions