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

You could have written the same article about C#.


Yes, I definitely could have. But I don't know C#, so that would have been an awful blog post. :D


Indeed, this article would read just as well after applying s/\bgo\b/C#/ig, or should I say:

    Regex.Replace(articleText, @"\bgo\b", "C#", RegexOptions.IgnoreCase);
Or indeed most general purpose languages, which the article itself mentions.


The C#'s regex engine would have run circles around Go's here though while doing so :)

https://github.com/BurntSushi/rebar?tab=readme-ov-file#summa...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: