Small Joys with Odin

Odin is a data-oriented and pragmatic programming language that has gained popularity among developers. It aims to provide a joyful programming experience and has several built-in features that enhance day-to-day coding. One notable feature is the #caller_location compiler directive, which captures the file name, procedure name, line, and column of the caller of a procedure. This information can be useful for debugging and is well-integrated into Odin’s core collection. Another feature is the @disabled attribute, which removes all uses of a procedure when set to true, similar to string replacement macros in C++. These small features bring moments of joy to programmers using Odin.

To top