Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
augustk
on Nov 29, 2023
|
parent
|
context
|
favorite
| on:
My $500M Mars rover mistake
And then it turns out that the order of the parameters was mixed up... just kidding.
jve
on Nov 29, 2023
[–]
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:
augustk
on Nov 29, 2023
|
parent
[–]
That's indeed a drawback of function call syntax compared to method call syntax where the object comes before the name of the method.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: