Go: Meaning of the 'fmt' package acronym












25














What does the "fmt" acronym mean in Golang? "fmt" is a package that provides I/O functions like Println (you can import it with import "fmt").



I suppose that the "f" means formatting but can't find a proper answer.










share|improve this question




















  • 2




    and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
    – JimB
    May 12 '14 at 17:27
















25














What does the "fmt" acronym mean in Golang? "fmt" is a package that provides I/O functions like Println (you can import it with import "fmt").



I suppose that the "f" means formatting but can't find a proper answer.










share|improve this question




















  • 2




    and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
    – JimB
    May 12 '14 at 17:27














25












25








25


3





What does the "fmt" acronym mean in Golang? "fmt" is a package that provides I/O functions like Println (you can import it with import "fmt").



I suppose that the "f" means formatting but can't find a proper answer.










share|improve this question















What does the "fmt" acronym mean in Golang? "fmt" is a package that provides I/O functions like Println (you can import it with import "fmt").



I suppose that the "f" means formatting but can't find a proper answer.







go






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 21:06









Rene Knop

1,3463622




1,3463622










asked May 11 '14 at 19:49









Guilhem Soulas

1,14011226




1,14011226








  • 2




    and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
    – JimB
    May 12 '14 at 17:27














  • 2




    and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
    – JimB
    May 12 '14 at 17:27








2




2




and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
– JimB
May 12 '14 at 17:27




and it's pronounced "fumpt". Don't let anyone tell you otherwise ;)
– JimB
May 12 '14 at 17:27












1 Answer
1






active

oldest

votes


















33














fmt is short for format. From the docs




Package fmt implements formatted I/O with functions analogous to C's
printf and scanf. The format 'verbs' are derived from C's but are
simpler.







share|improve this answer





















  • Why is it pronounced "fumpt" rather than "format" then?
    – Ka Mok
    Sep 21 '17 at 17:19










  • @KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
    – Davy Wybiral
    Oct 24 '17 at 15:23






  • 1




    Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
    – userSteve
    Nov 27 '17 at 14:57












  • I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
    – Kenmore
    Mar 3 at 17:02











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23597165%2fgo-meaning-of-the-fmt-package-acronym%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









33














fmt is short for format. From the docs




Package fmt implements formatted I/O with functions analogous to C's
printf and scanf. The format 'verbs' are derived from C's but are
simpler.







share|improve this answer





















  • Why is it pronounced "fumpt" rather than "format" then?
    – Ka Mok
    Sep 21 '17 at 17:19










  • @KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
    – Davy Wybiral
    Oct 24 '17 at 15:23






  • 1




    Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
    – userSteve
    Nov 27 '17 at 14:57












  • I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
    – Kenmore
    Mar 3 at 17:02
















33














fmt is short for format. From the docs




Package fmt implements formatted I/O with functions analogous to C's
printf and scanf. The format 'verbs' are derived from C's but are
simpler.







share|improve this answer





















  • Why is it pronounced "fumpt" rather than "format" then?
    – Ka Mok
    Sep 21 '17 at 17:19










  • @KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
    – Davy Wybiral
    Oct 24 '17 at 15:23






  • 1




    Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
    – userSteve
    Nov 27 '17 at 14:57












  • I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
    – Kenmore
    Mar 3 at 17:02














33












33








33






fmt is short for format. From the docs




Package fmt implements formatted I/O with functions analogous to C's
printf and scanf. The format 'verbs' are derived from C's but are
simpler.







share|improve this answer












fmt is short for format. From the docs




Package fmt implements formatted I/O with functions analogous to C's
printf and scanf. The format 'verbs' are derived from C's but are
simpler.








share|improve this answer












share|improve this answer



share|improve this answer










answered May 11 '14 at 19:56









Nick Craig-Wood

39.4k793102




39.4k793102












  • Why is it pronounced "fumpt" rather than "format" then?
    – Ka Mok
    Sep 21 '17 at 17:19










  • @KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
    – Davy Wybiral
    Oct 24 '17 at 15:23






  • 1




    Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
    – userSteve
    Nov 27 '17 at 14:57












  • I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
    – Kenmore
    Mar 3 at 17:02


















  • Why is it pronounced "fumpt" rather than "format" then?
    – Ka Mok
    Sep 21 '17 at 17:19










  • @KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
    – Davy Wybiral
    Oct 24 '17 at 15:23






  • 1




    Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
    – userSteve
    Nov 27 '17 at 14:57












  • I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
    – Kenmore
    Mar 3 at 17:02
















Why is it pronounced "fumpt" rather than "format" then?
– Ka Mok
Sep 21 '17 at 17:19




Why is it pronounced "fumpt" rather than "format" then?
– Ka Mok
Sep 21 '17 at 17:19












@KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
– Davy Wybiral
Oct 24 '17 at 15:23




@KaMok it's pronounced that way because that's how someone might pronounce "fmt" if they were reading it as-is. It might be confusing to people if they wrote "fmt" and said "format" in their head.
– Davy Wybiral
Oct 24 '17 at 15:23




1




1




Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
– userSteve
Nov 27 '17 at 14:57






Why not just call it "format" from the start? "fmt" only saves 3 characters. Developers have enough acronymns to remember as it is!
– userSteve
Nov 27 '17 at 14:57














I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
– Kenmore
Mar 3 at 17:02




I've also heard people call stdin and stdout "stud in" and "stud out" but in my head whenver I read/write them I say "standard". But I guess "stud" and "fumt" are quicker to say. Not much quicker, but still technically quicker.
– Kenmore
Mar 3 at 17:02


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23597165%2fgo-meaning-of-the-fmt-package-acronym%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini