where do foo and sark come from in the computer?
is often seen in the function Demo.
let foo = "Sark" print("foo: \(foo)")
where do foo and sark come from in the computer?
is often seen in the function Demo.
let foo = "Sark" print("foo: \(foo)")
Sark
is not clear. For foo/bar
, you can take a look at the description of wiki :
foobar is a term hype in the field of computer programs and has no practical use or reference significance. In the documents related to computer programming and computer technology, the term foobar is a common anonymous alias and is often used as a "pseudo variable".technically, "foobar" probably spread through Dijido's system manual in the 1960s and early 1970s. Another argument is that "foobar" may come from an inverted foo signal in electronics ({displaystyle {bar {Q} bar {Q}); this is because if a digital signal is valid at a low level (that is, negative voltage or zero voltage represents "1"), it is usually marked with a horizontal line above the signal mark, and the horizontal line is "bar" in English. In the New Hacker Dictionary, it is also mentioned that "foo" may predate "FUBAR".