Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Developer
>
takoyaki_umaaaa
>
Chamber
>
takoyaki_umaaaaHideout
>
LocalRules
takoyaki_umaaaa
´Д`)< ワイの隠れ家
(Original repository, No fork origin)
Wiki
Source Code
Summary
SourceTree
Commits
Branches
Tags
Download
Ticket
list
Submit
Milestone List
Activities
Chamber History
Stats
Other Chambers (1)
´Д`)< ワイの隠れ家
List
edit
|
Title Index
|
Recent Changes
Showing Page History #107038
Showing Page History #107037
Tags
javascript
windows 10
Frequently used words (click to add to your profile)
java
c++
android
linux
c#
windows
objective-c
cocoa
誰得
qt
python
php
ruby
game
gui
bathyscaphe
c
計画中(planning stage)
翻訳
omegat
framework
twitter
dom
test
vb.net
directx
ゲームエンジン
btron
arduino
previewer
Local Rules
Design
命名規則: Source File Names / Class Names / Variables
単語を省略しない
関連する file が並ぶように命名する
NG例
ParseImageForIcon
DefineFunctionForIcon
OK例
IconParseImage
IconDefineFunction
Display controls, User Inputs, Functions それぞれ分けて考える
NG例
Mouse down処理作成後、Touch start処理を追加すると2つの関数で重複する処理が多く発生してしまうパターン
外部との入出力は1ヵ所でやりとりする
【理由】
Log出力漏れ防止
入出力データ全てに影響する変更を入れるときに影響範囲を絞り込むため
【例】
Thread間 Message送受信用 Classを用意する
Mouse, Keyborad入力受信・振り分け用 Classを用意する