Testing Crystal Code Anatomy of a spec file Expectations Equivalence, Identity and Type Truthiness Comparisons Other matchers Expecting errors Focusing on a group of specs ...
Static Linking Fully Static Linking Linux glibc musl-libc macOS Windows Identifying Static Dependencies Static Linking Crystal supports static linking, i.e. it can link...
Writing Shards What’s a Shard? Introduction Requirements Creating the Project Writing the Code Testing the Code Documentation Writing a README Coding Style Writing a shard....
Writing Shards What’s a Shard? Introduction Requirements Creating the Project Writing the Code Testing the Code Documentation Writing a README Coding Style Writing a shard....
Crystal governance Abstract The steering council Composition Current steering council Mandate Powers Electing the council Ejecting core team members The core team Role Pre...
Static Linking Fully Static Linking Linux glibc musl-libc macOS Static Linking Crystal supports static linking, i.e. it can link a binary with static libraries so that th...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Command Line Interface Application Input Options Parameterized options All My CLI: The complete application Request for user input Output Testing Using Readline and NCurses...
Command Line Interface Application Input Options Parameterized options All My CLI: The complete application Request for user input Output Testing Using Readline and NCurses...