2022 has just started and I’ll take the opportunity to summarize what happened in 2021.
I will use different binoculars or point of view, here they are:
This post might be a bit longer than usual, fear not and hang on tight!
PHP 8.0 has been released since half a year now and 8.1 is just around the corner.
My day to day version of PHP is 7.4 and I like it. It has very nice features and I really like the performance improvements that were made.
However, it’s a week now that I’m working on a project using PHP 8 and I started to use the new features.
I will soon give a talk at AFUP regarding the loophp/collection library that I built.
I’ve been asked to make an interview and I had to reply to some questions.
This blog post is the english translation of this interview.
When we read "Lazy Collection", we think "Doctrine Collection". Could you tell us more why your library loophp/collection is different?
I was reading the Open Source book from Bartosz Milewski’s ‘Category Theory for Programmers’ when I saw something about Prime numbers:
A more interesting example is a coalgebra that produces a list of primes. The trick is to use an infinite list as a carrier. Our starting seed will be the list [2..]. The next seed will be the tail of this list with all multiples of 2 removed. It’s a list of odd numbers starting with 3. In the next step, we’ll take the tail of this list and remove all multiples of 3, and so on. You might recognize the makings of the sieve of Eratosthenes.
A year ago, I started to write a lazy collection library for PHP.
I haven’t written a specific article about it despite the fact that I would have wanted to, mostly by lack of time.
Almost a year ago and 318 commits later, I published the release 2.0.0 last week.
It all started a year ago, when I came across a pull request made against the Laravel framework.
It’s been 2 months now that I left aside my regular work with Drupal 8 and switched back to Atomium development for Drupal 7.
I will soon publish another post on all the new stuff that has been made there, but for now, I will focus on a side project I’ve been doing.
During the first weekend of April 2019, a hackathon was held in Silverquare Triomphe venue in Brussels.
The organizer, the European Commission, and a community of carefully selected developers participated to a hackathon in an amazing place.
The goal of having such an amount of skills contained in one single place, is to participate to the EU-FOSSA hackathon that the European Commission organised and funded.
I’ve been contributing to a couple of trending php libraries recently and during the analysis and the making of the patches, noticed that many libraries were using PHP not in the way I was used to.
Many of those libraries are having ‘final
’ classes.
final
classes everywhere, what is the advantage?This article will try to bring an explanation to this.
Hopefully for most of us, holidays are here. A special time for resting and enjoy quality time with the family, but also for thinking.
Even if I’m not attached to any religion, doing a Christmas tree is a kind of tradition… cats really loves it :-)
While decorating the tree, it got me thinking about tree based data structure. I used to play with trees into a previous project with Neo4J and I remember that I loved it.
Recently, I’ve been busy rewriting small PHP libraries like ValueWrapper, HTMLTag, PHPNgrams, DynamicObjects, PHPartition, PHPermutations and Memoize.
I mostly rewrote them because of multiple things I wanted to do:
This article will explain what are traits and will try to propose, without pretension, a better way to write them.