mllg / checkmate

Fast and versatile argument checks
https://mllg.github.io/checkmate/
Other
263 stars 30 forks source link

Proposal: Add a quick summary of the prefixes to the docs #261

Open RichardJActon opened 6 months ago

RichardJActon commented 6 months ago

I tend to forget what the different prefixes mean when I've not been using the library for a while and whenever I go to double check them it takes me a moment to parse through this section of the intro page: https://mllg.github.io/checkmate/articles/checkmate.html#function-overview

I think it would be helpful to have a quick at-a-glance reference for what the different prefixes mean, perhaps as a subsection of function overview?

Here's what I'd suggest - just slightly re-wording/restructuring what's already there to make it more succinct, separate it from the camelcase vs snakecase stuff and emphasize the important differences.

Checkmate Function Prefixes Summary

Thanks for checkmate it's incredibly useful!