From 2c08a8a75380e9e38a61e13bf6fea69eeab13cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gilles?= <sebastien.gilles@inria.fr> Date: Tue, 18 May 2021 15:36:22 +0200 Subject: [PATCH] Typo. --- 2-ObjectProgramming/4-encapsulation.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ObjectProgramming/4-encapsulation.ipynb b/2-ObjectProgramming/4-encapsulation.ipynb index 340f23e..7a9634d 100644 --- a/2-ObjectProgramming/4-encapsulation.ipynb +++ b/2-ObjectProgramming/4-encapsulation.ipynb @@ -556,7 +556,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Good practices: the default status of a method should be private and you should use mutators for quantities that might vary\n", + "## Good practice: the default status of a method should be private and you should use mutators for quantities that might vary\n", "\n", "In our `Rectangle4` example, all mutators and accessors were public. It is clearly what is intended here so it's fine, but as a rule you should really put in the public area what is intended to be usable by an end-user of your class. Let's spin another variation of our `Rectangle` class to illustrate this:\n", "\n" -- GitLab