Ruby

just another example!

This is just another example to demonstrate

Continue Reading...

The Singleton Pattern in Crystal Language

How to implement the Singleton pattern in Crystal with an example of its usage in the Lucky Framework.

I recently started learning the Crystal Language. As a long-time Ruby developer, this language readily caught my attention as a worthy candidate for building applications that needed very fast processing times. One of the first things I kept finding myself in need of was a simple implementation of the Singleton Pattern. Surprisingly, this was harder to achieve than I thought it would be...

Continue Reading...