Say it like this
- Call a function
- Define a function
- Return from a function
- Pass parameters to a function
- The function takes an argument
Use it at work
Code review
- This function is doing too much. Can we split it?
- Can you add a test for this function?
Explaining
- This function takes a user ID and returns the profile.
- Let's move this into a helper function.
Business
- Which business function owns this tool?
- He works in the finance function.
Don't say this
Function is a noun in tech; you do not function something. Use process, transform, or another action verb.
Don't mix it up
| Term | What it is | Who writes or uses it | When |
|---|---|---|---|
| function | Reusable block of code | Developers | Everywhere |
| method | Function that belongs to a class or object | Developers | OOP |
Practice
Try it
4 quick exercises
1. Your colleague asks how to solve a repeated calculation problem. What do you say?
2. We should _______ this calculation into a reusable function so we do not repeat code.
3. Which sentence uses 'function' incorrectly?
4. Rewrite this sentence more naturally in tech English: 'We have a piece of code that adds numbers together, and we use it many times in different places in the program.'
Say it out loud
Phrase 1 of 5
"Call a function"
We don't save your recording. The word check uses your browser's speech recognition.
More about function
Real examples(3)
- in a standup
"I extracted the validation logic into a separate function yesterday, and it cleaned up the main file significantly."
- in a code review
"This function is doing too much. We should split it into smaller, single-purpose functions."
- in a team meeting
"Our team documented all the core functions in the API so new developers can understand what each one does."
More mistakes(2)
Handle with care. Non-native speakers sometimes confuse function (a reusable block of code) with method (a function inside a class). Also, avoid using function as a verb in formal tech contexts; use implement or execute instead.
- ✕This function returns a function that returns a string.✓This function returns a function that returns a string. (This is actually correct.)
Higher-order functions that return other functions are valid, but make sure your explanation is clear to avoid confusion.
- ✕Write a function that have multiple return statements.✓Write a function that has multiple return statements.
Grammatical error; use has (singular) not have when the subject is singular (function).
Other forms(3)
- function noun
"The function calculates the total price by adding tax."
- functions noun plural
"These utility functions handle common string operations."
- function verb
"The server will not function properly without this module. (less common in tech coding context)"
Often used with(7)
- call a function · To execute or invoke a function; this is the most common collocation.
- define a function · To write and declare a function in your code.
- return from a function · To send back a result or exit a function.
- pass parameters to a function · To provide input values when calling a function.
- function signature · The function name, parameters, and return type combined.
- pure function · A function that always returns the same output for the same input with no side effects.
- reusable function · A function designed to be called from multiple places in code.
Similar words(4)
- method · A function that belongs to a class or object. In some languages, method and function are used interchangeably, but method implies OOP context.
- procedure · An older term for function; still used in some languages like SQL or procedural programming.
- subroutine · A legacy term for function, rarely used in modern tech discussions.
- routine · A generic term for a block of code that performs a specific task; less precise than function.
Opposites(1)
- inline code (code not organized into functions)
Questions(5)
- What is the difference between a function and a method?
- A function is a reusable block of code that stands alone. A method is a function that belongs to a class or object in object-oriented programming. In many contexts, the terms are used interchangeably, but method specifically implies OOP structure.
- How do you use function in a sentence at work?
- You can say things like: 'Can you call this function?' 'I defined a new function for error handling.' 'This function returns the user ID.' The key is that function is a noun, so you perform actions on it (call, define, implement) rather than using it as an action verb itself.
- Is function formal or informal?
- Function is neutral and professional. It is used equally in formal documentation, code reviews, meetings, and casual conversations among developers. It is the standard technical term across all English-speaking tech environments.
- What does it mean to call a function?
- To call a function means to execute or invoke it, which triggers the code inside the function to run. When you call a function, you typically pass in input values (arguments) and receive back a result (return value).
- Why should I break my code into functions?
- Functions improve code quality by making code reusable, easier to test, easier to read, and easier to maintain. Instead of copying the same logic multiple times, you write it once in a function and call it wherever needed.



