How to use the name RedAmber #84
-
How to 'require' RedAmber ?RedAmberを読み込むときの書き方は? How to use RedAmber in the text ?文章の中でRedAmberを書く時の書き方は? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
How to use'Red' is used as prefix in other 'Red Data Tools' projects (such as
It is acceptable to write 他のRed Data Toolsのプロジェクト名の多くは、redが接頭辞のように使われていますが
文章の中で登場する場合は、 |
Beta Was this translation helpful? Give feedback.
How to use
'Red' is used as prefix in other 'Red Data Tools' projects (such as
red-datasets).RedAmberis preferable as one word as I wrote in #83, snake casedred_amberis better.It is OK the both of
require "red_amber"andrequire "red-amber"to avoid surprise.It is also OK in derived libraries like
require "red-amber-view".It is acceptable to write
Red AmberorRed amberinstead ofRedAmberin the text.他のRed Data Toolsのプロジェクト名の多くは、redが接頭辞のように使われていますが
#83 で述べたように
RedAmberは1語であることが望ましいので、分けて書く場合はスネークケース(
red_amber)が好ましいです。但し、
require "red_amber"とrequire "red-amber"のどちらも許容されます。これは驚きを避けるためです。
派生ライブラリで
require "red-amber-view"とするのも問題ありません。文章の中で登場する場合は、
RedAmberの代わりにRed Amber、R…