ここからは、オブジェクト思考について説明していきます。 プログラムを一連の"オブジェクト"として考える設計思想やプログラミング手法のことです。オブジェクトは、データ(属性またはプロパティとも呼ばれる)とそれを操作する手続き(メソッド ...
Pythonのオブジェクト指向プログラミングでは、クラスのメソッドや**コンストラクタ(__init__メソッド)**を活用することで、より柔軟なプログラムを作成できます。 この記事では、Ubuntu環境でviを使いながら、メソッドとコンストラクタの基本について解説 ...
Peter's convinced you're not using Shared and static members enough, but then he's also convinced that none of you know about all the ways you can use those two keywords. The methods, properties and ...