Content
Self-driving Car Hits Robot Dog. JavaScript’s NaN likely culprit. In a bizarre accident, a Tesla self-driving car hit a Boston Dynamics robot dog on a quiet suburban street. The car’s driverless software is being blamed for the accident, as it failed to properly cast a string to a number, causing the car to believe the dog was a car from a competing manufacturer, which must be at all times engaged in a high- speed race to see who’s best. We spoke to the car’s manufacturer, who told us they are "working hard to fix the issue." "We should have migrated to TypeScript ages ago, but Bob from HR became a parent last summer and had been asking for a raise ever since," said the manufacturer. "We just couldn’t justify the cost." "We never thought this would happen," they added. "NaN is, by definition, not a number, so we never thought it would be possible for nothing to cause something to happen. That’s not the Christian way." The robot dog, for its part, was reportedly unharmed in the accident because its world-class Rust codebase makes it "virtually indestructible."