Declaring classes as final enhances our code quality and abstraction dramatically, but is it always correct?| ocramius.github.io
I didn’t always work in a larger team. At the beginning of my journey as a computer programmer, I was the only one person in a project. It meant that I had had a free-hand (or semi-free-hand) to choose how I could write a code and which solutions I could use. From day to day I could perform a little revolution in the codebase. No consequences and no problems because the only user of the code was me. Although this situation might look as the best case for a programmer, it doesn’t. Especial...| Szymon Krajewski
It may sound obvious or even weird for people who programming in statically typed or compiled languages. In my work, I use PHP which is a dynamically typed language with optional strict typing introduced in version 7. At the beginning of my journey with PHP, I didn’t care so much about typing. I had a trivial cause — they didn’t exist yet. I used to write a code without thinking about types. It was convenient and fast. Furthermore, it allowed writing proxy functions which recognize para...| Szymon Krajewski