以前のエントリーでObjective Cの実行速度を評価したところ、Javaの方が開発効率が高いとの指摘を多数頂いた。 これ自体に異議は無いのだが、両者は利用用途が異なる場合が多く、プログラマーにも質的な差があるので『開発効率』を定量的に評価するのは難しく、両方での開発経験がある人間以外は差異を把握しづらい。 そこでデスクトップ/スマートフォン・アプリケーションの作成を念頭におき、Objective CとJavaの定性的な比較を行い、JavaがObjective Cより開発効率が高い理由を以下の7点に整理した。なお、開発効率性を議論するので、実行速度は評価しない。 1. JavaがObjective Cより開発効率が高い7つの理由 Javaは、(1)ポータビリティ、(2)メモリ管理方式、(3)静的オブジェクト型、(4)コンストラクタと静的メンバー変数、(5)言語仕様の簡潔さ、(6)利用範囲