this post was submitted on 12 Dec 2023
1 points (100.0% liked)

Memes

45189 readers
1399 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
  • ISO 8601 is paywalled
  • RFC allows a space instead of a T (e.g. 2020-12-09 16:09:...) which is nicer to read.
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] -1 points 9 months ago
[–] [email protected] 0 points 9 months ago (1 children)

allows a space instead of a T

That's a bug not a feature

[–] [email protected] -1 points 9 months ago (1 children)

It's really a skill issue if replacing T by [T ] in your regexp is hard

[–] [email protected] 1 points 9 months ago

This is the most junior developer comment I've seen in a while.

Nobody that's competent thinks that's shit is hard. That's not the point.

The point is, it makes it easy to make mistakes. Somebody might see all of one type of strings, assume that's the format, and forget to enclose the thing in quotes, causing mysterious bugs years later when a differently created date filters into the system. You might have a regex error, you might split incorrectly, you might make a query that works the wrong way and gives an incorrect aggregate, and none of that is due to lack of skill. It's due to not knowing it's the rfc standard, not the iso. It could be due to not even realizing the rfc allows for that or is different.

Software engineering in practice is not about making sure there is at least some way for people to use your library/standard/pattern. It's about making sure the way to do it that's most intuitive/obvious is also foolproof, easy, and efficient. Adding the space makes debugging harder and adds footguns which is exactly what good software engineers want to stay away from. Otherwise we'd all be writing in assembly. But since you aren't, maybe you are the one with a skill issue. Either that or you really misunderstand this field.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (2 children)

Top post of the hour is about an RFC from >20 years ago.

This is worse than the Linux stuff.

Y'all a bunch of nerds

[–] [email protected] 1 points 9 months ago

Room for one more

[–] [email protected] 1 points 9 months ago

You’re not wrong

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

You've just become the nemesis of the entire unix-like userbase for praising the space.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

What's the issue with the space?

[–] [email protected] 1 points 9 months ago (1 children)

A space is more problematic than a T tho

[–] [email protected] 1 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago

For a skilled pro like you I suggest using epoch time for everything