You can edit almost every page by Creating an account. Otherwise, see the FAQ.

Cinderbug

From EverybodyWiki Bios & Wiki


In computer programming jargon, a cinderbug is a software bug that occurs when the code does not handle date changes properly. The term refers to cinderella fable where the protagonist has forgotten to return home in time for midnight.

Any time-related entity can cause a cinderbug: if the coder takes into consideration a year timeframe, and forgets to consider the year change is also a cinderbug; so for day, hour, or month change.

Example of Cinderbug[edit]

  • Missing amounts in a time difference
  • Zero date (overflow)
  • Sudden returns to low values when a bigger one is expected
  • Code crashes related to negative numbers non being handled
  • Negative dates

History of the term[edit]

The term has born in the Red community for a bug in DT command (Delta time), has not taken into consideration midnight. It was returning the difference between a time in the past date and one in another date is returns a negative value, instead of the correct one.

See also[edit]

External links[edit]

References[edit]


This article "Cinderbug" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Cinderbug. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.