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 bi...
Control Flow Primitive Types Nil Bool Boolean Algebra Truthiness Control Flow Conditionals Else More branches Loops Infinite loops Skipping and Breaking Control Flow...
Control Flow Primitive Types Nil Bool Boolean Algebra Truthiness Control Flow Conditionals Else More branches Loops Infinite loops Skipping and Breaking Control Flow...
if var.nil? Instance Variables if var.nil? If an if ‘s condition is var.nil? then the type of var in the then branch is known by the compiler to be Nil , and to be known as ...
if var.nil? Instance Variables if var.nil? If an if ‘s condition is var.nil? then the type of var in the then branch is known by the compiler to be Nil , and to be known as ...
if var.nil? Instance Variables if var.nil? If an if ‘s condition is var.nil? then the type of var in the then branch is known by the compiler to be Nil , and to be known as ...
Hosting on GitLab Pipelines Some Badges Releases Release Badge Mirror to GitHub Hosting on GitLab Add and commit everything: $ git add - A && git commit - am "shard ...
Methods Arguments Default arguments Type Restrictions Overloading Methods To avoid duplication of the same message, instead of using a variable we can define a method and ca...