Pragmatic coding

Stefan Koopmanschap argues that, besides writing beautiful code and using kickass frameworks and libraries, we should be able to do some quick and dirty coding as well. Can you write me a simple script that fetches some information from an RSS feed and displays the titles? Like, just write me that script in a couple […]

Continue reading →

PHP 7 is gaining ground fast

Jordi Boggiano shared some new stats on PHP version usage he collects via Packagist. A few observations: 5.3 and 5.4 at this point are gone as far as I am concerned! 5.5 still has a good presence but lost 12% in 6 months which is awesome. 5.6 basically stayed stable as I suspect people jumped […]

Continue reading →

On Being Explicit

Mathias Verraes, one of the organizers of DDD Europe, recently gave a talk at DDD London on how to name things to both improve your code and to improve communication with the business. “Make the implicit explicit” must be one of the most valuable advices I ever got about software modelling and design. Gather around […]

Continue reading →

Does code need to be perfect?

Andreas Creten explains his view on wether you should always try to write perfect code. Spoiler: no. The engineers want to write perfect code using the latest techniques, make sure that the code is well documented so they can fully understand how everything works and that it has tests so they can easily update things […]

Continue reading →

How to open source at Zalando

Zalando, a large online fashion plaform, published it’s guidelines around open source creation and usage. Why Open Source? Because it can: improve quality, mitigate risk, increase trust, save us money, expand our technology choices, be fun, enable us to give back to the community, strengthen our tech brand, and attract talent. … Do “Open Source […]

Continue reading →

Structuring PHP exceptions

Alain Schlesser wrote an article on how to manage exceptions in a large codebase. I seem to constantly work on improving my habits regarding the use of exceptions. I think it is an area that I haven’t yet fully explored, and it is very difficult to find anything more than very basic explanations and tutorials […]

Continue reading →

10 modern software over-engineering mistakes

Subhas Dandapni wrote an excellent overview of the most common over-engineering mistakes. Few things are guaranteed to increase all the time: Distance between stars, Entropy in the visible universe, and Fucking business requirements. Many articles say Dont over-engineer but don’t say why or how. Here are 10 clear examples. https:[email protected]/10-modern-software-engineering-mistakes-bc67fbef4fc8 Freek Van der Herten Freek […]

Continue reading →

Practicing YAGNI

In a new post on his blog Jason McCreary, creator of Laravel Shift, wrote down the summary of his Laracon US talk. I consider myself a searcher. On a quest to find the Holy Grail of programming practices – that single practice which instantly levels up my skills. While I know this doesn’t exist, I […]

Continue reading →

The Churn

I love those conversational posts written by Uncle Bob. This time he responds to an article by Luciano Mammino who is saying goodbye to OO programming. Uncle Bob’s conclusion: We need to choose a language, or two, or three. A small set of simple frameworks. Build up our tools. Solidify our processes. And become a […]

Continue reading →

Use Sequel Pro’s colored favourites

Every single day I use Sequel Pro to manage MySQL databases for all projects I’m working on. Sequel Pro gets used in both development and production environments. Because the databases mostly have the same name and tables in all environments it’s very easy to mix them up. You have to be really careful and check […]

Continue reading →

Processing a csv file in Laravel

From time to time I need to process a csv file. PHP provides a fgetcsvfunction to help with that task. Unfortunately this is a very basic function. It will not, for instance, recognize a header column as such. In this quick post I’ll show how using the excellent laravel-excel package (which can process csv’s too) […]

Continue reading →

Make Everything The Same

Sandi Metz solved the Roman numerals kata in a very interesting way. Along the way she makes the case for keeping code simple. The desire for simplicity means that I abhor special cases. I am willing to trade CPU cycles to achieve sameness. I’ll happily perform unnecessary operations on objects that are already perfectly okay […]

Continue reading →

Splitting controllers

Jerome Dalbert on his blog: Splitting your Rails controllers when they have a very specific scope, too much logic, or too many mixed concerns can have a lot of good side effects in your code. It doesn’t mean that you never abstract. It just comes later down the road. At some point some logic needs […]

Continue reading →