Skip to content
quotesby

About this quote

What does it mean?
A commented‑out decrement of a dbm reference count is marked as not working and frustrating.
In plain terms
The reference count decrement is broken and disabled.
What can you take from it?
Fix the reference counting logic instead of commenting it out.

Where it applies

  • when fixing resource leaks
  • in database modules

Putting it to work

  • repair dbmrefcnt logic
  • add tests for ref counting

Questions to consider

  • What are the consequences of disabling ref count updates?
  • How to verify proper reference handling?

Another view

Commenting out code can hide bugs and cause leaks.

More from Larry Wall

  1. /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */

    Permalink to quote #264
  2. Be consistent.

    Permalink to quote #265
  3. /* we have tried to make this normal case as abnormal as possible */

    Permalink to quote #258

Related quotes

  1. Shazaam!

    Dave ChappelleDave Chappelle quote #11
  2. I charm in vain; for never again, All keenly as my glance I bend, Will Memory, goddess coy, Embody for my joy Departed days, nor let me gaze On thee, my fairy …

    Lewis CarrollLewis Carroll quote #1
  3. Yesterday, all my troubles seemed so far away Now it looks as though they're here to stay. Oh, I believe in yesterday.

    Paul McCartneyPaul McCartney quote #1