Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

hello world
crystal

How to write a "Hello World" program in Crystal

Educative Answers Team

Crystal is an object-oriented programming language that shares the syntax, elegancy, and productivity of Ruby while incorporating the speed, efficiency, and type safety of a compiled language.

svg viewer

A simple “Hello World” program in Crystal is shown below. Note that this is the same syntax that is utilized in Ruby.

puts "Hello World!"

To learn more about programming in Crystal, check out their official documentation.

RELATED TAGS

hello world
crystal
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring