Hi there 馃憢

Welcome to my blog

Ruby's early returns can be harmful

Introduction I鈥檝e been using Ruby for a some time now and I鈥檝e noticed that early returns can be over used. I鈥檒l review at one example with enums where I think some early returns can be harmful. Note: I am not saying early returns are bad, but in this specific example they can be harmful. Enums Ruby does not natively support enums, but they still do exist in business and other domains....

August 23, 2023 路 3 min 路 473 words 路 benetis

Exploring Ruby & Rails: Building a Chatbot

Introduction New Ruby community member here. Looking to get familiar with language and share my insights. Recently, I鈥檝e accepted an offer to work in a different company. They use Ruby as their main language. I鈥檝e never worked with Ruby in a professional setting, but I did already take a stab at Ruby koans [1] the other day. I do have quite a bit of experience in programming, especially with functional language like Scala....

June 14, 2023 路 7 min 路 1461 words 路 benetis

Writing Scala DIY style (part1)

Introduction I鈥檝e been contemplating a project in which I recreate commonly used libraries to gain a deeper understanding of their functionality. Many Scala projects rely on a variety of libraries that offer unique features such as effect systems, streams, and other essential components. It鈥檚 crucial to understand the purpose of each building block in a modern Scala project. While most of these libraries are well-documented and provide ample information about their design choices, I believe that the most effective way to grasp the author鈥檚 intent is by re-implementing the library yourself....

April 8, 2023 路 5 min 路 1040 words 路 benetis

What software engineer needs to do in 1-2 hours?

Introduction What can software engineer do in 2 hours? Can you make MVP and deploy it to production in that time? What about a senior software engineer? Recently I applied for a developer position. I did it after a personal suggestion from that company鈥檚 engineer. I received a fairly simple but not easy task to do and I could do it in any programming language I wanted. I will not mention company鈥檚 name or any of the people involved....

December 16, 2021 路 7 min 路 1329 words 路 Me

Conway's Game of Life

Introduction The game of life is a cellular automation devised by John Conway. This simulation has only a few rules, but it is Turing complete [0] and incredibly interesting to watch. With recent news about Conway, I thought it鈥檚 time to give it a go. In one programming kata, I had encountered this problem, but never went to fully complete this simulation. This time, I鈥檒l use my favorite programming language, Scala, and my current favorite library, ZIO [1]....

May 4, 2020 路 4 min 路 641 words 路 benetis