czarpino
Subscribe
Czar Pino

Czar Pino

3 posts published

📍 Philippines

Dependency Injection

Dependency injection has become a relatively common concept to ask during technical interviews. While it is the generally accepted best practice in modern PHP development, it seems terribly little understood beyond the provisions exposed by 3rd party libraries and frameworks. Perhaps the most common explanation of DI (dependency injection) is

  • Czar Pino
Czar Pino Feb 3, 2021 • 3 min read
Interface and Exception
PHP

Interface and Exception

Interfaces and exceptions have some synergy going on about them. Recently, I have been employing exceptions to preserve (meaningful) interfaces and redirect control back to the calling context. It is surprisingly elegant — at least compared to some alternatives. I've seen functions trying to return 2 different classes of information to

  • Czar Pino
Czar Pino Jul 3, 2020 • 2 min read

Why PHP

While PHP has made incredible progress in recent years, it continues to suffer ill repute. Some have even taken the extreme road of leaving PHP due to the bad rap alone. As of  StackOverflow's Annual Developer Survey for 2020, PHP still ranks high among the languages programmers most want to

  • Czar Pino
Czar Pino Jun 5, 2020 • 4 min read
czarpino © 2022
Powered by Ghost