Comment on xkcd #2867: DateTime

<- View Parent
hikaru755@feddit.de ⁨11⁩ ⁨months⁩ ago

It’s easier to understand, easier to review for correctness, and less likely to cause problems with additional changes in the future. Even though it sounds counterintuitive, software developers generally try to write as little code as possible. Any code you write is a potential liability that has to be maintained, so if you can instead just use code that others have already written and that has been tested, you’ll want to use that. (Note that “less code” doesn’t mean fewer lines of code, it means less logical complexity, which is often, but not always, also less in terms of characters/lines)

source
Sort:hotnewtop