Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And then it turns out that the order of the parameters was mixed up... just kidding.


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:


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: