* Question about function prefixes
@ 2017-10-08 17:29 Ian Dunn
2017-10-08 19:42 ` Drew Adams
0 siblings, 1 reply; 2+ messages in thread
From: Ian Dunn @ 2017-10-08 17:29 UTC (permalink / raw)
To: emacs-devel
I've received a suggestion to add functionality for a Beaufort cipher[1] to my vigenere.el package. A Beaufort cipher uses almost exactly the same algorithm as a Vigenere cipher, with some small changes. The differences are small enough that I can modify vigenere.el to handle a Beaufort cipher with only a few lines changed.
Prefixing the Beaufort functions with "vigenere-" seems confusing to users, so would it be acceptable to prefix them with "beaufort-"?
[1] https://en.wikipedia.org/wiki/Beaufort_cipher
--
Ian Dunn
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Question about function prefixes
2017-10-08 17:29 Question about function prefixes Ian Dunn
@ 2017-10-08 19:42 ` Drew Adams
0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2017-10-08 19:42 UTC (permalink / raw)
To: Ian Dunn, emacs-devel
> I've received a suggestion to add functionality for a Beaufort cipher[1] to
> my vigenere.el package. A Beaufort cipher uses almost exactly the same
> algorithm as a Vigenere cipher, with some small changes. The differences
> are small enough that I can modify vigenere.el to handle a Beaufort cipher
> with only a few lines changed.
>
> Prefixing the Beaufort functions with "vigenere-" seems confusing to users,
> so would it be acceptable to prefix them with "beaufort-"?
Is this about the prefix you use in a library that you have
authored? If so, you can use whatever prefix you like.
If you think that using prefix `vigenere-' for something
that is different from a Vigenere cipher, then consider
changing the prefix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-08 19:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-08 17:29 Question about function prefixes Ian Dunn
2017-10-08 19:42 ` Drew Adams
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).