Showing posts with label humor. Show all posts
Showing posts with label humor. Show all posts

2025-02-10

The best code review comment ever

I just wrote a code review comment that I feel particularly smug about. 

The code I was reviewing: 

class PointClouds ...

My comment: 

It is a bad idea to have a type name in plural. If you need to signify plurality, use a plurality-signifying suffix in singular form, as in:

  • PointCloudCollection
  • PointCloudSet
  • PointCloudGroup
  • or go creative with PointCloudFormation
  • or take creativity to a whole new level with PointCumulonimbus

Anything but a plural type name.

 

2024-05-31

Incident Impact Calculation Formula

The Mike Nakis formula for calculating the impact of an incident:

I = S × G × T

Where:

  • I is the impact of the incident.
  • S is the severity of the incident.
  • G is the geographic pervasiveness of the incident.
  • T is the temporal pervasiveness of the incident.

Thus:

2018-01-25

Tablecloth

Deerlux 100% Pure Linen Washable Tablecloth Solid Color from target.com

A short, high-tech, sci-fi, horror story written on the evening of January 25, 2018.

There was a guy who got in a quarrel with his girlfriend, and she kicked him out of her apartment without even throwing his clothes out the window for him. So there he was, naked on the street, not knowing what to do. Out of necessity, he grabbed a tablecloth from a restaurant, draped himself with it, and started to go home, trying to look as if everything was normal and under control.