Work and tech

Programming words

Programming has its own English words. Learn these, and docs, error messages and code reviews will be much easier to read.


Bug

noun/bʌɡ/ไทยข้อผิดพลาดในโปรแกรม (บั๊ก)

A mistake in code that makes a program work in the wrong way.

There is a bug in the login page. Users can't sign in.

Debug

verb/diːˈbʌɡ/ไทยหาและแก้ข้อผิดพลาด (ดีบัก)

To find and fix bugs in code.

I spent the whole morning trying to debug this API error.

Variable

noun/ˈveriəbəl/ไทยตัวแปร

A name that stores a value in your code. The value can change.

Create a variable called userName to save the user's name.

Function

noun/ˈfʌŋkʃən/ไทยฟังก์ชัน

A block of code with a name. It does one job, and you can use it many times.

This function adds two numbers and returns the result.

Repository

noun/rɪˈpɑːzətɔːri/ไทยที่เก็บโค้ดของโปรเจกต์ (รีโพ)

A place that stores all the code and history of a project, for example on GitHub. People often say repo.

Please clone the repository and run npm install.

Deploy

verb/dɪˈplɔɪ/ไทยนำระบบขึ้นใช้งานจริง (ดีพลอย)

To put your app on a server so people can use it.

We will deploy the new version of the website tonight.

Previous
At work