PHPnews.io

Overview for 'tomasvotruba'

Don't Show Your Privates to Public

Written by Tomáš Votruba / Original link on Mar. 30, 2020

With typed properties in PHP 7.4, there comes **a natural tendency for using properties as public**. The type check is already there, right? It's a dangerous path that opens the door to static code with public properties everywhere, that is asking for a change in any place.But is that ok to show pr…




Art of Letting Go

Written by Tomáš Votruba / Original link on Mar. 9, 2020

Recently I come to a dead end with one of my projects. I felt it doesn't bring value to me, to people that use it, and to neither to the open-source community. I felt sour about it for the last 3 months, confused about what to do next.