From b53eaf82e214f437f8fa125b4a3c2642beb1fb3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=C3=A2jinzhongjia?= Date: Tue, 12 Dec 2023 00:16:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=8D=E5=B0=84=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nothing --- learn/.vitepress/sidebar.ts | 3 ++- learn/more/reflection.md | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 learn/more/reflection.md diff --git a/learn/.vitepress/sidebar.ts b/learn/.vitepress/sidebar.ts index 2b0a62ee..ac751e1b 100644 --- a/learn/.vitepress/sidebar.ts +++ b/learn/.vitepress/sidebar.ts @@ -182,7 +182,8 @@ export default [ text: "更多", items: [ { - text: "函数反射", + text: "反射", + link:"/more/reflection" }, { text: "零位类型", diff --git a/learn/more/reflection.md b/learn/more/reflection.md new file mode 100644 index 00000000..6e0fcb61 --- /dev/null +++ b/learn/more/reflection.md @@ -0,0 +1,9 @@ +--- +outline: deep +--- + +# 反射 + +> 在计算机学中,反射(**reflection**),是指计算机程序在运行时(**runtime**)可以访问、检测和修改它本身状态或行为的一种能力。用比喻来说,反射就是程序在运行的时候能够“观察”并且修改自己的行为。 + +TODO \ No newline at end of file