Writing on Software Development

Why I don't like PHP syntax

Revised and updated 2026-07-26. 

I have made the decision to use PHP as part of my overall stack, along with ruby, javascript, and python. The main reason is that there has been a lot of great software written in PHP, and I want to use it. However, after leaving the PHP world for Ruby, and then coming back to it, I see many annoying little things that bother me in PHP. In this article, I rant about some of them.

The 5-point scoring scale

This scale is used in colleges, where the best grade a student can receive is an A (5), and the student can also receive a B (4), C (3), D (2) or an F (1). Actually it is not clear what these letters (nubmers) mean, so a clarification is in order. Some poeople and institutions will mean different things when they grade something a B. At WasyaCo this grading scale has the following meaning.

Elements of Personal Communication

Weaponized smile

I guess it's a thing. Weaponization obviously comes from the autists (see /r/wallstreetbets, or better don't). They weaponize everything - their own autism, chicken tenders, you name it. We are going to be weaponizing appearances, for the purpose of achieving concrete goals. One of the elements of appearances is the smile, and its weaponization is important.

Weaponization of your smile may take up to 2% of your overall continuous effort.

Automation is more useful than artificial intelligence

You can think of a software system as a sort of an animal. Muscles, skeleton and the rest of the structure go a long way, long before intelligence in an animal becomes useful or desirable. Automation is the muscles and bones. AI is the high-level brain. I'd take an ox or a mule over a monkey, for labor, most of the time. So let's develop the structure first - the muscles and bones...

Duck Programming

I want to write first about my admiration of ducks, and swans by extension. They are the animals capable of flying (birds), and they also swim. They also walk on land. Ducks, and also swans, are therefore truly all-terrain, all-element animals: they've conquered earth, water and air. (And they're metabolic, living organisms so we'll grant them the command of "fire" in the sense of metabolic oxidation.)

You may be familiar with the saying, "duck typing". The idea is that if something walks like a duck, talks like a duck... then it may be a duck.