News for hackers. Stuff that matters.
Re:My $500M Mars rover mistake by augustk on Wednesday November 29, 2023 @05:26AM (#38457705)
And then it turns out that the order of the parameters was mixed up... just kidding.
Re:My $500M Mars rover mistake by jve on Wednesday November 29, 2023 @05:46AM (#38457833)
Just yesterday, I did C# Regex.Match with a supersimple regex: ^\d+ And it seemed not to work. I asked ChatGTP and he noted that I had subtle mistake: the parameters were other way around... :facepalm:
Re:My $500M Mars rover mistake by augustk on Wednesday November 29, 2023 @06:30AM (#38458135)
That's indeed a drawback of function call syntax compared to method call syntax where the object comes before the name of the method.