以下は研究を行う際、班員内でソースコードの書き方に統一性を持たせるために書いたものです。利用者のみなさまは読み飛ばしていただいて結構です。
The development work for the assignment research will be done here.
- In principle, the source code in the development of each assignment should be highly independent.
- Even minor updates should be disseminated and reported in some form.
- Unify notation for smooth description. See next section for details.
<Basic Notation>
- As a rule, variable names should be declared in camelCase.
- Function names should also be declared in camelCase.
- Variables and function names should be numbered consecutively, with _(underscore)xx (two digits) following the variable or function name.
- ex) hensuu_01, hensuu_02, hensuu_03
- Variables that have no specific meaning, such as loop variables in a for statement, should be commented out to briefly describe their use.
<html>
- Stylesheets and script files are basically described in one file each.
- Tag elements should be entered in lower case.
課題研究の開発作業はここで行います。
- 基本的に各担当の開発におけるソースコードは独立性の高いものにする。
- 細かい更新でも、何らかの形で周知、報告をすること。
- 円滑な記述のために記法を統一する。詳しくは次の項目へ。
<基本記法>
- 変数名は原則としてcamelCaseで宣言すること。
- 関数名に関してもcamelCaseで宣言すること。
- 変数、および関数名に連番を振る場合、_(アンダースコア)xx(二桁)の形を変数、関数名の後ろにつけるようにすること。
- 例) hensuu_01, hensuu_02, hensuu_03
- for文におけるループ変数など、特異な意味を持たない変数はコメントアウトで用途を簡潔に記すこと。
<html>
- stylesheetやscriptファイルは基本的に一つのファイルの中に書くこと。
- タグの要素は小文字で記入すること。