From 6613d0ceb66a71e3465d69d074a2360eb27eaf48 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Mon, 1 Jan 2024 09:27:09 +0900 Subject: [PATCH] =?UTF-8?q?introduction=E3=81=8B=E3=82=89private[this]?= =?UTF-8?q?=E3=81=AE=E8=A8=98=E8=BF=B0=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/introduction-to-scala.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/introduction-to-scala.md b/src/introduction-to-scala.md index 8e857fb25..6568062cd 100644 --- a/src/introduction-to-scala.md +++ b/src/introduction-to-scala.md @@ -53,7 +53,6 @@ Scalaが優れているのは関数型プログラミングの機能だけでは - 型パラメータの変位(variance)指定 - self type annotationによる静的な依存性の注入 - implicit class(conversion)による既存クラスの拡張 -- `private[this]` などの、より細やかなアクセス制限 - Javaのプリミティブ型がラップされて、全ての値がオブジェクトとして扱える 以上のようにScalaではより柔軟なオブジェクト指向プログラミングが可能になっています。