8
deck
on — Used for surface locations like screens, storage devices, or networks
| Usage | Example |
|---|---|
| Server | The module located on the server will process the input data. |
| Storage Device | The data will be stored on the new SSD from now on. |
| Operating System | This application runs on Windows only. |
| Application | You can review the codebase on GitHub. |
| Social Media | Find us on X to learn more! |
| Website | Please check the opening hours on the website. |
| Computer | This is the easiest way to install Python on your computer. |
| Network | There are 3 printers on the network. |
| Wi-Fi | I'm on Wi-Fi. Let me browse the Internet to see how to take the metro. |
===
in — Indicates being inside a space or system
| Usage | Example |
|---|---|
| Database | The transaction data stored in the database will be deleted in 3 months. |
| Document | This API example written in the document is kind of confusing. |
| Browser | You can delete cookies in the browser if you want. |
| File | There is a list of buyers in the file. |
| Directory | When the file appears in the directory, drag it into the trash. |
| System | We’ve found a critical bug in the system. |
| Code | I will look into the problem in the code. |
| Programming Language | I can easily write a script in TypeScript. |
| Website Component | The buttons in the header are too big. |
| Section | The image in the hero section is not attractive enough. |
===
on vs. in — Similar but different usage
| Distinction | Example | Description |
|---|---|---|
| on | on the app, on Facebook | Interaction on devices with screens |
| in | in the app, in Asana | Internal functions or components |
| on the network | The headset initiated a connection to a phone on the network. | Connected device on the network |
| in the network | There is an issue with the router in the network. | Internal component of the network infrastructure |
===
at — Points to a narrow location or institution, URL, etc.
| Usage | Example |
|---|---|
| Company, Institution | I have worked at Microsoft since 2018. |
| Domain, URL | You can find more information at www.example.com. |
===
to — Expresses directionality and data movement
| Meaning | Example |
|---|---|
| Passing data to a function | This code passes arguments to the function we defined above. |
| Adding A to B | Let me add this example to the doc. |
| Changing A to B | I changed the branch name to “develop”. |
| Leading A to B | Our new manager will lead our project to success. |
Want to learn more?
Join CodeFriends Plus membership or enroll in a course to start your journey.