Here is an email I received in response to one of my essays.
Here’s a good C++ one:
Make liberal use of the operator , That’s right, you can overload a comma. Here’s an example:
Guess what it prints — f int. It could be made better by putting all the functions in different headers. You could even stick the operator and define in a header and include it some places and not in others so that sometimes you call f(string, int) and other times f(int) with the same parameters. This one could be truly evil and even allow you to 'call' forms of f that shouldn’t even exist, or make the operator, modify the data as well.
Endless amounts of fun await!!
This page is posted
Optional Replicator mirror
Please read the feedback from other visitors, or send your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Your face IP:[220.127.116.11]
You are visitor number|