There are 104 articles categorized as "Programming"

Reading from standard input with Go

on October 30, 2017. in Programming, Development. A 5 minute read.

Last year I started learning Go, then I stopped, and now I don’t remember anything what I learned.

I think I understand bounded contexts

on October 24, 2017. in Programming, Development, Blablabla. A 3 minute read.

Earlier this year I started reading the DDD book by Eric Evans. Together with the Eventsourcery videos from Shawn McCool, the first three chapters of the book were… easy to understand, even. Lots of “A-ha!” and “Oh!” moments, followed by “That makes perfect sense.” statements, and a couple of excited “I knew that!"-ones. Then I got to the chapter with the bounded contexts. I read the first few pages, thought about them… Then read them again, and thought some more. Then I put the book back on the shelf for a few months.

Creating datetimes from a format with a timezone

on October 16, 2017. in Programming, Development. A 2 minute read.

I wouldn’t be writing this blog post, if I’d read all the “fineprints” in the PHP manual. Alas, here we are.

Complex argument matching in Mockery

on May 08, 2017. in Programming, Software, Development. A 3 minute read.

This past weekend I did some issue maintenance and bug triage on Mockery. One thing I noticed going through all these issues, is that people were surprised when learning about the \Mockery::on() argument matcher. I know Mockery’s documentation isn’t the best documentation out there, but this still is a documented feature.

Contributing to open source projects has many benefits — you learn and you teach, you can make friends or find business partners, you might get a chance to travel. Even have a keynote at a conference, like Gary did.

Recording screencasts of OSS contributions

on April 19, 2017. in Blablabla, Programming. A 2 minute read.

I enjoy contributing to open source projects, and I learn a lot while doing it. When someone asks me for advice on how to improve as a programmer, I usually tell them to find an open source project that interests them, and start contributing.

Read-only Symfony form field

on April 10, 2017. in Programming, Development. A 1 minute read.

The future me will be grateful for this post. I always get it wrong the first time.

Continue reading Read-only Symfony form field...

Waste an hour on a stupid mistake

on April 07, 2017. in Programming, Development, Blablabla. A 2 minute read.

I made such a stupid mistake today and lost an hour of my time trying to figure out what the hell is wrong, that I just have to blog it.

Continue reading Waste an hour on a stupid mistake...

PHP traits to create test doubles

on April 04, 2017. in Programming, Development. A 3 minute read.

Keeping your application or library code well organized, easy to follow, and read is important. Your test code should not be exempt from those rules, you should follow good testing conventions.

Continue reading PHP traits to create test doubles...

Performing end to end testing of any application requires from us to have a set of reliable test data in the database.