Lightning Talk: The Nature of Truth
summary
Claims that Ruby treats only false and nil as falsey and everything else as truthy, demonstrates the confusion around expressions like arr.empty? versus truth checks, and shows code examples and failing mental models coming from Perl. Releases a small library called truthy gem (hosted via GitHub/RubyForge), with specs-first development, incomplete test coverage, and a plea for forks and donations. Reports no surprising counterexamples and gives concrete examples and specs to inspect.
AI-written summary · about








