Runtime Tracing Tracing Format Runtime Tracing The Crystal runtime has a tracing feature for low level functionality. It prints diagnostic info about runtime internals. A prog...
Requiring files require “filename” require “./filename” Other forms Requiring files Writing a program in a single file is OK for little snippets and small benchmark code. Big...
Requiring files require “filename” require “./filename” Other forms Requiring files Writing a program in a single file is OK for little snippets and small benchmark code. Big...
Requiring files require “filename” require “./filename” Other forms Requiring files Writing a program in a single file is OK for little snippets and small benchmark code. Big...
Visibility Private methods Private types Protected methods Private top-level methods Private top-level types Visibility Methods are public by default: the compiler will alw...
Hello World Hello World The first thing you need to learn in any programming language is the famous Hello World! program . In Crystal this is pretty simple, maybe a little bit...