Meetup on the 3rd of December, 2019
📅 December 03, 2019
📍 co.up Coworking Space, Adalbertstr. 7-8, 10999 Berlin
Avoiding getter/setter cargo cult programming and writing better test mocks in PHP
Talk 1: Get, set... NO
Cargo cult programming is defined by Wikipedia as "Ritual inclusion of code or program structures that serve no real purpose."
One ritual, deeply embedded into the hearts and minds of many software developers is the creation of getters and setter on entities. It' so widespread that IDEs have tools to do it automatically.
Why do we do it? Does it serve some purpose or is it just a cargo cult programming ritual?
Talk 2: 5 ways to write better mocks
Tips on how to write better test doubles (often referred to as mocks in PHP-land). Cats included.