Dear all,
I am new to Julia. And I often see many people using Foo or foo in their codes.
So what does Foo
or foo
mean? Why so many people like to use it?
Dear all,
I am new to Julia. And I often see many people using Foo or foo in their codes.
So what does Foo
or foo
mean? Why so many people like to use it?
It’s not just Julia, this is a common practice in programming languages as stand-ins in examples. In Julia, the convention is that variables and function names are lowercase, and types / modules are uppercase, so foo = 42
or bar() = "Hello, World!"
, or
struct Foo
bar
end
@jar1 @kevbonham Thanks for your reply.