Dictionary.com
Thesaurus.com

hard-code

American  
[hahrd-kohd] / ˌhɑrdˈkoʊd /

verb (used with object)

hard-coded, hard-coding
  1. to write (values, settings, or other data) into a program's source code, so that a user could not change it without modifying the source code.


Example Sentences

Examples are provided to illustrate real-world usage of words in context. Any opinions expressed do not reflect the views of Dictionary.com.

See Examples For:

Other forms of artificial intelligence try to hard-code information about the world: the chess strategies of grandmasters, the principles of climatology.

From New York Times Apr. 15, 2022

Another tool will let podcasters swap out sponsored segments in their videos, which as of now are often hard-coded into the video file and still remain online even after a sponsorship ends.

From The Wall Street Journal Dec. 17, 2025

So many choices that seem hard-coded into the show’s DNA are accidents or evolutions of choices totally out of our control.

From Los Angeles Times Jun. 17, 2025

Because Sierra Leone was run as a British colony until 1961, Cleverly said his mother's attitude to British institutions "and its rules came hard-coded when she arrived".

From BBC Sep. 13, 2024

Unlike traditional computer programs that execute a series of hard-coded commands, language models are trained by sifting through large datasets of text like Wikipedia.

From Slate Dec. 7, 2022

He took a guess and printed out the last three to be run; the late messages were probably hard-coded in there somewhere.

From O+F by Wetterau, John Moncure

And now that Google Assistant is available on Wear OS 3, you don’t have to settle for Samsung hard-coding Bixby as your default smartwatch assistant.

From The Verge Aug. 19, 2022

One is hard-coding everything: working out exactly where and how the robot needs to move, and programming each step by hand.

From The Verge Nov. 10, 2017

Plus, like hard-coding, it’s not very flexible when faced with unseen and surprising objects.

From The Verge Nov. 10, 2017

Nowadays if you were a company like that, you would just never even consider hard-coding everything in English.

From Slate Oct. 9, 2015

On board the Perl Whirl 2000, a conference of hard-coding geeks on a luxury cruise ship.

From Slate Mar. 1, 2014

Vocabulary.com logo
by dictionary.com

Dictionary.com's Learning Companion

Go beyond just looking up words.
Remember them forever with VocabTrainer.

Start training