3 ms·
My favorite was the regex engine that was implemented using C++ operator overloading. The author was very proud of it, but you could not tell what code was rege
by WalterBright 5mo ago
My favorite was the regex engine that was implemented using C++ operator overloading. The author was very proud of it, but you could not tell what code was regex code and what code was math code.
I went to some lengths with D to discourage such abusive operating overloading practice.
- kstrauser 5mo agoThank you. I don't even use D, but appreciate all efforts to socialize sane programming practices.
- WalterBright 5mo agoThank you for the kind words! I recently did a presentation at Yale where I felt free to ridicule some insane practices, and how to do a better job. Slides: https://walterbright.com/ElegantD.pdf https://walterbright.com/ElegantD.pdf