Workation Diary V: The Everyday Life

This is the 5th part of the Workation Diary series. In this series, I write about my 3-month experience living and working in Barcelona. In the first blog, I addressed the preparation, the second post was about the incredible architecture and art, which characterize the city to this day. The third post summarizes public work … read more …

Workation Diary IV: Learning Language and Making New Friends

The Workation Diary blog series summarize my experience living abroad for work and vacation in Barcelona, the capitol Catalonia. My first blog was about the preparation, the second addressed the incredible architecture and art, which characterize the city to this day. The third post summarizes public work places (cafés) that offers a good environment for … read more …

Workation Diary III: Public Work Places in Barcelona

The third post of the Workation Diary series is about public working in Barcelona. This week, I tried several cafès and want to share my impressions. In January this year, I decided to move to Barcelona for work and vacation. In total I will stay for three month here, will work remotely and get more … read more …

Workation Diary II: Art and Architecture

The second blog of the Workation Diaries series is about Barcelona’s beatiful architecture and art. For the next three month, I will stay and work in Barcelona, work remotely as a freelancer and get as much insights of the city as possible. In the first post, I addressed my workation plans, the preparation and my … read more …

Workation Diary: The Barcelona Preparation

The day I make a dream come true finally becomes reality. My long planned work and vacation trip (short: workation) just began this week. As we all now, the Covid-19 pandemic brought home and remote work much faster into our life than expected. Especially for software engineers, who only needs their laptop for work, remote … read more …

Do Readonly Properties replace Getters (in PHP)?

I am in programming since around 2006 and started coding with Borland C++ (I can hear you saying “Bor -what”). Back that time, we created Desktop UI applications with object oriented C++ and together with the language, we learned best practices and common approaches (to object oriented programming). One major rule of thumb – among … read more …

On a personal note – I will change the format of this blog a bit

Back in 2015, I started this blog for having a platform to share my thoughts about my profession and random things. Later, starting from 2018, I got in touch with algorithms, data structures and every thing around that what I call „deeper computer science“. During that time, I had job interviews with Facebook, Google and … read more …

About Mocking in Unit Tests

Recently at SCAYLE, I wrote a Laravel service that inserts data using Eloquent into a table like this: For people not familiar with Laravel/Eloquent: The HelloWorld model mirrors the database structure and the save method persists data into the database table. So far, so good. Like for any good and responsible project, I wrote unit … read more …

When to use Traits in PHP

Traits were introduced to PHP in version 5.4. While classes were introduced in version 4, class inheritance was – as in Java – limited to single inheritance only from the very beginning. Class Inheritance: The Good, The Bad, The Ugly Class Inheritance is a central concept in object oriented programming and exists in every programming … read more …