エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Pull Up Method
Problem Your subclasses have methods that perform similar work. Solution Make the methods identic... Problem Your subclasses have methods that perform similar work. Solution Make the methods identical and then move them to the relevant superclass. Why Refactor Subclasses grew and developed independently of one another, causing identical (or nearly identical) fields and methods. Benefits Gets rid of duplicate code. If you need to make changes to a method, it’s better to do so in a single place tha