Dev Vocab

คำศัพท์เกี่ยวกับการเขียนโปรแกรม

(เข้าสู่ระบบ เพื่อบันทึกคำที่จำได้)

standalone

standalone = (adj.) สามารถทำงานได้ด้วยตัวมันเอง

ในทาง programming ให้นึกถึงคำว่า

reusable = (adj.) ซึ่งสามารถนำกลับมาใช้ใหม่ได้

standalone → reusable

§ Mental Model

A function is a standalone thing. It can be passed around.

ใน programming languages ส่วนใหญ่

functions สามารถถูก pass around ไปมาได้

เหมือนกับ primitive values ต่างๆ เช่น number, boolean, หรือ string