class HelloWorld
def self.hello(name = "World")
"Hello, #{name}!"
end
end
Crystal is a compiled language that is currently in the alpha stages of development. These are some of the language's goals:
Ruby-inspired syntax.
Statically type-checked but without having to specify the type of variables or method arguments.
Be able to call C code by writing bindings to it in Crystal.
Have compile-time evaluation and generation of code, to avoid boilerplate code.
Compile to efficient native code.
What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.
Once you join the Crystal language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.
These are a few of the 50 exercises on the Crystal track. You can see all the exercises here.