you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 3 years ago (1 child)

Try to figure out a way to sort it automatically and get back to me on why it's stupid

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago (1 child)

    Easy. Don't store dates as a text string. That's just bad programming.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    When you say "don't store dates as a string" what you're really saying is "wait for someone else to solve the problem and release a library, then use that library". That seems to be what the majority of the industry does (I'm a Java coder myself and joda is a lifesaver in that regard) but my point is that this problem is hard. Date and time stamps are a subtly difficult part of the average API monkey's daily work.

  • source
  • parent