Tag: programming

PHP function names

Turns out that 18 years ago, PHP had ~100 functions. The function names got put in a hash map. The hash function chosen? Strlen. Thus, the function names were chosen so the hash collisions would be minimized (by creating a uniform distribution of function name length). Which means the origin of all those insane and inconsistent names in PHP is even worse than I’d always thought. I am literally blown away. I can barely conceive of a more mind-shatteringly idiotic thing.

Objectivist-C

finally a conceptually pure language.

In Objectivist-C, software engineers have eliminated the need for object-oriented principles like Dependency Inversion, Acyclic Dependencies, and Stable Dependencies. Instead, they strictly adhere to one simple principle: No Dependencies.

In Objectivist-C, there are not only properties, but also property rights. Consequently, all properties are @private; there is no @public property.

Extreme Dating

DoTheSimplestThingThatCouldPossiblyWork: Chocolates. If that doesn’t work, try roses. Don’t make a complicated plan on how to win their heart – just think of something simple and honest. RefactorMercilessly: If your date is less than impressed with your appearence or your PC vs Mac jokes, you’ve obviously done something wrong. Work to readjust their expectations of a date to something simpler and more reasonable. If you dare. Change your strategy if it’s going badly. Change yourself if you can’t see how to proceed.

chuckle