Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

50% Positive

Analyzed from 55 words in the discussion.

Trending Topics

#store#zero#value#costs#mean#gods#sake#fighting#designed#decades

Discussion (1 Comments)Read Original on HackerNews

whatever1about 1 hour ago
Just store what you mean to store for gods sake. We have been fighting with over-designed bs for decades.

Zero is not absence of a value. It has a value, it happens to be 0. Same for undefined/infinity. They exist.

Let the hardware engineers figure out an efficient way to deal with it. If it costs more, well if we add up all of the costs of bugs due to zero/null conversions, maybe it was worth it.