Dictionary entry
inline
Last updated
Meanings
verbtransitivecomputingtechnical
In computing, to replace a function call with the actual code of the function to improve performance.
Grammar: Takes an object: inline a function. Often used in the passive: the function was inlined.
Patterns
- inline a function
- inline code
- be inlined
The compiler will inline small functions to reduce overhead.
You can inline the method to avoid the cost of a function call.
When the code was inlined, the program ran noticeably faster.
nouncountablecomputingtechnical
An element that is placed within the flow of text, such as an inline image or style.
Grammar: Countable; often used in web design and typesetting.
Patterns
- an inline element
- use inlines
- inline styles
The web page uses inlines to display small icons next to the text.
In HTML, an inline is an element that does not start a new line.
She added an inline to show the company logo within the paragraph.
adjectivebefore a nouncomputingtechnical
Placed within a line of text or code, rather than on a separate line or in a separate block.
Grammar: Used before a noun: inline style, inline image. Also spelled 'in-line'.
Patterns
- inline style
- inline image
- inline code
Use an inline style to change the color of just one word.
The inline image was too large and broke the layout.
He prefers inline comments in his code for quick notes.
Word forms
| third person singular | inlines |
|---|---|
| past tense | inlined |
| past participle | inlined |
| -ing form | inlining |
Common combinations
- inline a function
- The optimizer can inline a function that is called only once.
- inline style
- Instead of a separate CSS file, he used an inline style for the heading.
- inline code
- She wrote inline code to handle the error directly.
- inline image
- The email contained an inline image that displayed automatically.
Synonyms and how they differ
Word family
- inlining noun
- The process of replacing a function call with the function's code.
Commonly confused: inline or in line?
inline vs in line
Two words meaning in a queue or in a row (e.g., stand in line). 'Inline' as one word is a computing term.
Practice
To make the program run faster, the developer decided to ___ the small function.
Choose one answer.
'Inline' is the verb meaning to replace a function call with the function's code. 'In line' is a phrase meaning in a queue, and 'outline' means to summarize.
Make it your own
Write a sentence using “inline”, then check it and compare it with the examples above.