5 exercises on reading file extensions and dotfiles aloud.
0 / 5 completed
1 / 5
How is a ".js" file referred to aloud?
A .js file is read "a J-S file" /dʒeɪ ɛs/ — the letters "jay-ess" spelled out, optionally "a dot-J-S file." So "save it as a J-S file", "a dot-J-S extension." Do not blend it into "juss." Similarly ".ts" is "T-S" (tee-ess), ".py" is "py" said as the letters "P-Y" or even "a Python file," and ".css" is "C-S-S." The leading dot can be spoken ("dot J-S") or implied.
2 / 5
How is a ".yml" / ".yaml" file referred to aloud?
A .yml or .yaml file is read "a YAML file", with "YAML" said as the word "yam-el" /ˈjæməl/ (rhyming with "camel"), not spelled out. So "edit the YAML file", "a yam-el config." Even when the extension is the shortened ".yml," people still say "yam-el." Do not spell out "Y-M-L." YAML stands for "YAML Ain't Markup Language" and is always said as a word.
3 / 5
How is a ".sh" (shell script) file referred to aloud?
A .sh file is usually read "an S-H file" /ɛs eɪtʃ/ (the letters "ess-aitch"), or described as "a shell script." So "run the S-H file", "it is a shell script." Do not say "shh" as a single hushing sound or "shuh." The "H" is "aitch" /eɪtʃ/. Many people simply call it by its purpose: "a shell script" or "a bash script."
4 / 5
How is a ".jpg" image file referred to aloud?
A .jpg (or .jpeg) image is read "a JPEG" /ˈdʒeɪpɛɡ/ — said "jay-peg," two syllables, even when the extension is the shortened ".jpg." So "save it as a JPEG", "a jay-peg image." Spelling out "J-P-G" is also heard but "jay-peg" is most common. Do not say "juhpg." Similarly ".png" is usually "ping" /pɪŋ/ or spelled "P-N-G," and ".gif" is debated as "gif" /ɡɪf/ or "jif" /dʒɪf/.
5 / 5
How is a ".gitignore" file commonly said aloud?
A .gitignore file is said "dot git-ignore" — "dot," then "git" /ɡɪt/ (hard g, rhyming with "sit"), then the ordinary word "ignore" /ɪɡˈnɔːr/. So "add it to your dot-git-ignore", "the git-ignore file." The leading dot is usually spoken because it marks a hidden file. Do not say "jit" (the g is hard) or spell out "G-I-T." It is "git" + "ignore" run together.