Archive

Category Archives for "Coding Packets Blog"

Crystal Notes: Hashes

Hashes in Crystal are a collection of key/value pairs of defined types. Creating a hash # Deduce the type signature of a hash. typeof(stuff_and_things) # => Hash(String, String) # To create an empty hash, you must define # the intended type of its key/value pairs. # There are 2 ways to define...continue reading

Go Notes: Types

Go has many built in types that are found in other programming languages. It also supports the creation of custom types. Each type has a default zero value that is used when a variable is declared but not yet assigned a value. Boolean Booleans are true or false values. The zero...
1 6 7 8 9 10 28