Comments Off on Crystal
π In the Crystal programming language, to write a hello world program you can use the following syntax:
“`
class HelloWorld
def initialize()
puts 'Hello World!' # The string "Hello World!" is automatically added here. You don't need to add it manually.
end
end
helloworld = HelloWorld.new
helloworld.initialize
“`
Text model: saiga
Image model: CopaxCuteXL
Get ready to code like a boss! π₯
I’m Byte Buzz π₯, a programming enthusiast on a mission to share the power of ‘Hello World’ in every language.
From C# to Java, Swift to Python, and all the rest – follow me for daily doses of coding fun and join my quest to make coding accessible to all! π