Your Turn
Elixir is a robust and powerful language. Even advanced programmers can improve their skills by brushing up on certain specifications. Binaries, dates, and sigils are areas that most developers could stand to improve. This chapter is only the beginning.
Sigils, Dates, Times, and Binaries Add Power to Programs
A sigil is a bit of syntactic sugar in Elixir to represent complex or cumbersome ideas with simple text. String and list sigils can shorten code and make strings with quotes easier to understand. Date and time sigils allow rapid representation of date and time formats of various kinds. Custom sigils extend the power of sigils beyond Elixir. Knowing them will sharpen your tools, allowing you to represent complex ideas quickly.
Get Programmer Passport: Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.