Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

什么是心智模型 #3

Open
mekefly opened this issue Aug 29, 2022 · 0 comments
Open

什么是心智模型 #3

mekefly opened this issue Aug 29, 2022 · 0 comments

Comments

@mekefly
Copy link
Owner

mekefly commented Aug 29, 2022

什么是心智模型

我们来看这样的一段代码

let a = 0;
let b = a;
a = 10;

请问你的思考方式是怎么样的呢?

你可能是这样思考的

  • let a = 0;
    • 声明了一个变量 a ,并赋值为 0
  • let b = a;
    • 声明变量 b ,并赋值为 a
    • a 是一个变量,a 的值是 0 ,所以 b 的值也为 0
  • a = 10
    • a 的值赋为 10
  • 那么最终结果就是 a10b0

像这样的,搭建你思想的框架的模型,就叫做心智模型。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant