Re:Microfeatures I'd like to see in more languages
by carlhjerpe on Thursday January 05, 2023 @10:26PM
(#34270589)
We don't have to follow locale, we could just force ISO 8601 and there won't be any ambiguity.
[ Parent
| on HN ]
Re:Microfeatures I'd like to see in more languages
by rwmj on Friday January 06, 2023 @03:51AM
(#34272499)
Yeah, but this is Windows we're talking about. Even the SCHTASKS program (kind of like /usr/bin/at) takes a date which is locale sensitive, making it absolutely useless for scripting. Check out this answer to a question about how to use it: https://stackoverflow.com/a/18730884
Re:Microfeatures I'd like to see in more languages
by carlhjerpe on Saturday January 07, 2023 @02:11PM
(#34291488)
The language doesn't have to care about $PLATFORM, if the spec says dates in source are ISO 8601 they're ISO 8601 or they're invalid.
Re:Microfeatures I'd like to see in more languages
by yencabulator on Sunday January 08, 2023 @06:03PM
(#34304324)
I think the argument here is that VB is cursed because Windows is cursed; it inherited the bias toward cursedness. Of course other languages can choose to do better.