9-doc.us

doc

A doc is a document, usually a file with text. People ask for a doc when they want something written down, like a report or a guide.

What a model may hear

documentation comment programming languages
treat the word as a special marker in source code that generates help pages
doctor function Clojure and some Lisps
run a diagnostic or print debug info about a value
DOM Document object web browsers
access the root of a web page's structure in JavaScript
Docker container informal tech speech
confuse it with 'docker' or container commands
.doc file format Microsoft Office
assume the old binary Word format rather than any document

Where people and models part ways

“make me a doc”

Meant: write a document for me

May be taken as: generate a code comment block or Javadoc template

Say instead: “write a document or article for me”

“check the doc”

Meant: look at the instructions I wrote

May be taken as: parse the HTML Document object or query documentation strings in code

Say instead: “read the instructions in the file I shared”

“send me the docs”

Meant: email me the paperwork

May be taken as: fetch API documentation or generate code reference pages

Say instead: “email me the files or paperwork”

“doc this for me”

Meant: write this up

May be taken as: insert documentation comments into code or annotate a data structure

Say instead: “write this up as a description or summary”

Tips

Often confused with

docs
plural often means documentation, not multiple files
dock
a place for ships or a UI panel, not a document
docker
container software, sounds similar in fast speech
dot
a period or graph node, not a document
docx
the newer Word format specifically
DOM
web page structure, pronounced the same in some accents