Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s/プロトコル/要求型/ #4

Closed
wants to merge 1 commit into from
Closed

s/プロトコル/要求型/ #4

wants to merge 1 commit into from

Conversation

gfx
Copy link
Owner

@gfx gfx commented Jan 14, 2015

メソッドやプロパティなどのインターフェイスを要求するという意味で protocol要求型 はどうかという提案です。

副次的ですが、TCPやHTTPなどのプロトコルと区別できるというメリットもあります。

参考: #2

@koher
Copy link
Contributor

koher commented Jan 15, 2015

Swift の protocol は Objective-C 由来のキーワードだと思いますが、

すでに広く使われる用語があればそちらを優先する(× 所有物 / ◯ プロパティ, × パターンマッチング / ◯ パターンマッチ)

の方針からすると、 Objective-C では「プロトコル」と書くのが一般的ではないでしょうか?アップルの Objective-C の日本語ドキュメントでも「プロトコル」と書かれています。

今後、アップルが Swift の公式日本語ドキュメントを作ることがあれば、そのときにも「プロトコル」という訳語を使う可能性が高いように思います。

また、個人的には英語で type と入っていないものに「型」を付けるのは変な気もします。その意味では(スレ違いですが) enumerations も「列挙型」より「列挙」の方がいいような気がしています。

@gfx gfx closed this Jan 15, 2015
@gfx gfx reopened this Jan 15, 2015
@gfx
Copy link
Owner Author

gfx commented Jan 18, 2015

そうですね、ObjC由来の「プロトコル」は十分に広まっているとも考えられます。そしてAppleが日本語文書つくるとしたら「プロトコル」でしょうね。難しい。

@gfx gfx closed this Mar 22, 2015
@gfx gfx deleted the protocol branch March 22, 2015 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants