Wrapping Up

In this chapter, we probed deeper into some basic types and coding techniques, such as symbols, tuples, and the case statement. For a Rubyist, perhaps this isn’t all new stuff, but you became more familiar with the Crystal compiler and how it uses union types to make your code more safe. Union types form the cornerstone of Crystal’s type system. Armed with this insight, let’s start exploring methods and procs and see how Crystal makes good use of overloading in our next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.218.221