12 Matching Annotations
  1. Nov 2022
  2. Oct 2022
    1. I'm afraid you missed the joke ;-) While you believe spaces are required on both sides of an em dash, there is no consensus on this point. For example, most (but not all) American authorities say /no/ spaces should be used. That's the joke. In writing a line about "only one way to do it", I used a device (em dash) for which at least two ways to do it (with spaces, without spaces) are commonly used, neither of which is obvious -- and deliberately picked a third way just to rub it in. This will never change ;-)
  3. Sep 2022
  4. Apr 2022
    1. It's only globally unique, so it's only unique on our planet. If you want a truly unique id you need to use a universally unique id (UUID). I assume that you're only interested in uniqueness within our universe.
    2. Upmodded because this is the most amusing thing I've seen online today.
    3. I'm having troubling finding anything about this question that isn't fundamentally wrong. The longer I look at it, the funnier it gets.
  5. Sep 2021
  6. Jun 2021
    1. If you're just throwing the toppings away, your class is less of a Pancake and more of a PancakeToppingDetector ;)
  7. Mar 2021
    1. If you've ever talked about regular expressions with another programmer, you've invariably heard this 1997 chestnut: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
    1. Addition of the keyword would allow such syntax as If ThisThing Ain't Nothing Then According the source "We're just trying to keep up with advances in the English language which, as you know, is changing almost as fast as technology itself."
  8. Feb 2021