From b2d80610db6beda38573890ed169815e495bc663 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 24 May 2020 16:34:31 +0700 Subject: [usth/ICT2.7] Engineer software --- ...tract Method Refactoring Quiz - lang_en_vs5.srt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 usth/ICT2.7/P4L5 Software Refactoring Subtitles/16 - Extract Method Refactoring Quiz - lang_en_vs5.srt (limited to 'usth/ICT2.7/P4L5 Software Refactoring Subtitles/16 - Extract Method Refactoring Quiz - lang_en_vs5.srt') diff --git a/usth/ICT2.7/P4L5 Software Refactoring Subtitles/16 - Extract Method Refactoring Quiz - lang_en_vs5.srt b/usth/ICT2.7/P4L5 Software Refactoring Subtitles/16 - Extract Method Refactoring Quiz - lang_en_vs5.srt new file mode 100644 index 0000000..07f5e44 --- /dev/null +++ b/usth/ICT2.7/P4L5 Software Refactoring Subtitles/16 - Extract Method Refactoring Quiz - lang_en_vs5.srt @@ -0,0 +1,31 @@ +1 +00:00:00,160 --> 00:00:02,580 +After the demo I would like to have a little quiz + +2 +00:00:02,580 --> 00:00:05,430 +about the extract method refactoring. And I would like to ask you + +3 +00:00:05,430 --> 00:00:08,910 +when is it appropriate to apply the extract method refactoring. Here I + +4 +00:00:08,910 --> 00:00:11,890 +have a set of possible scenarios. First one is when there is + +5 +00:00:11,890 --> 00:00:14,730 +duplicated code in two or more methods. When a class is too + +6 +00:00:14,730 --> 00:00:17,730 +large. When the names of two classes are too similar. Or when + +7 +00:00:17,730 --> 00:00:20,840 +a method is highly coupled with a class other than the one + +8 +00:00:20,840 --> 00:00:24,370 +where it is defined. So as usual, please mark all that apply. -- cgit 1.4.1