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

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)