# frozen_string_literal

If you are coding in Ruby 2.3 or newer, using RuboCop, you may have noticed this warning: What is this? To improve performance, there were plans in Ruby 3 to use frozen string literals by default. In the end, this feature implementation was dropped. However, you can still use this magic comment, which must appear […]

Magic Methods

Python has a number of special methods, also known as dunder methods as they begin (and end) with a double underscore. Also called magic methods, they enable many of Python’s built-in functions to operate on your objects. These methods are not meant to be invoked directly. For example, the __init__ special method used to initialise […]