From 3810da15fefd00c081e2d44e950b46340fa08189 Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Tue, 14 Jun 2022 21:15:16 +0800 Subject: [PATCH] vault backup: 2022-06-14 21:15:16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Affected files: .obsidian/plugins/oz-image-plugin/data.json .obsidian/workspace 02. PARA/03. Resources(資源)/Design Pattern.md --- .obsidian/plugins/oz-image-plugin/data.json | 13 +++++++++++++ .obsidian/workspace | 2 +- 02. PARA/03. Resources(資源)/Design Pattern.md | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .obsidian/plugins/oz-image-plugin/data.json diff --git a/.obsidian/plugins/oz-image-plugin/data.json b/.obsidian/plugins/oz-image-plugin/data.json new file mode 100644 index 0000000..f38a2ef --- /dev/null +++ b/.obsidian/plugins/oz-image-plugin/data.json @@ -0,0 +1,13 @@ +{ + "renderAll": true, + "cm6RenderAll": true, + "renderImages": true, + "renderPDF": true, + "renderIframe": false, + "renderExcalidraw": false, + "renderRichLink": false, + "renderTransclusion": false, + "previewOnHoverInternalLink": false, + "refreshImagesAfterChange": false, + "WYSIWYG": false +} \ No newline at end of file diff --git a/.obsidian/workspace b/.obsidian/workspace index 98d5613..d05fb0a 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -118,9 +118,9 @@ "lastOpenFiles": [ "00. TOP/00. Inbox.md", "00. TOP/01. TODO.md", + "02. PARA/03. Resources(資源)/Design Pattern.md", "02. PARA/01. Project(專案)/005. TestCam.md", "attachments/2018-10-06_01.jpg", - "02. PARA/03. Resources(資源)/Design Pattern.md", "02. PARA/03. Resources(資源)/C++17/lambda.md", "02. PARA/03. Resources(資源)/C++17/C++17.md", "02. PARA/03. Resources(資源)/C++17/以值擷取(captured-by-value).md", diff --git a/02. PARA/03. Resources(資源)/Design Pattern.md b/02. PARA/03. Resources(資源)/Design Pattern.md index fc5ba55..7ff1f3b 100644 --- a/02. PARA/03. Resources(資源)/Design Pattern.md +++ b/02. PARA/03. Resources(資源)/Design Pattern.md @@ -10,7 +10,7 @@ description: 策略模式可以提供不一樣的演算法,但是又不用更改程式。 以常見的鴨子為例,有一個基礎類別Duck,如何衍生出會飛得鴨子跟不會飛的鴨子?抑或是會叫的跟不會叫的? 第一部是將會變動的部份分離出來,讓鴨子類別不需要去在乎飛跟叫的問題。 -再來是把飛跟叫的部份包裝成另一個class,並以之為基礎類別來實做出「實際的類別」。 +再來是把飛跟叫的部份包裝成另一個class,並以之為基礎類別來實做出「實際的類別」。 ^e59e9f 以一般C++的override方法,會用的方式大致是這樣: