Usually we use the word “script” to describe fully functional custom POV scripts.
If you want the word to describe class-level behavior, try an “example”.
Your examples will be from the point of view of users of your class. If these custom classes want especially developer-oriented behavior, then yes, your examples will ultimately be focused on the developers in them.
Having said that, here are some vocabulary changes that I have found, let me tell you about the value that I am looking for most commercially, I can:
- returns → tells me or gives me
- calls → delegates, asks
- handles concurrency -> handles two things at once.
- extends → is
- implements → fulfills the role
Basically, if you use the word developer-jargon, imagine you explain it to someone with a few more words, and then use that.
I would not go overboard with this. The reason for using domain-specific terms in scenarios is because interested parties are interested in reading and (hopefully) writing them. The audience for the examples at the class level is technical, so it does not really matter if we have technical problems.
source share