Crystal Expert · Lesson 8
Compile-time versus run-time types, flags and constants
Tell the compile-time type apart from the run-time class, branch on build flags, compare compiler versions and fold constants before the program runs.
Lessons · Crystal Expert · Lesson 8 of 10
Compile-time versus run-time types, flags and constants
Tell the compile-time type apart from the run-time class, branch on build flags, compare compiler versions and fold constants before the program runs.

