Skip to content

How to use the name RedAmber #84

Answered by heronshoes
heronshoes asked this question in Q&A
Discussion options

You must be logged in to vote

How to use

'Red' is used as prefix in other 'Red Data Tools' projects (such as red-datasets).

RedAmber is preferable as one word as I wrote in #83, snake cased red_amber is better.

  • It is OK the both of require "red_amber" and require "red-amber" to avoid surprise.

  • It is also OK in derived libraries like require "red-amber-view".

It is acceptable to write Red Amber or Red amber instead of RedAmber in the text.

他のRed Data Toolsのプロジェクト名の多くは、redが接頭辞のように使われていますが
#83 で述べたようにRedAmberは1語であることが望ましいので、
分けて書く場合はスネークケース(red_amber)が好ましいです。

  • 但し、require "red_amber"require "red-amber"のどちらも許容されます。
    これは驚きを避けるためです。

  • 派生ライブラリでrequire "red-amber-view"とするのも問題ありません。

文章の中で登場する場合は、RedAmberの代わりにRed AmberR…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by heronshoes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant