Skip to main content

Posts

Showing posts from November, 2014

The Secret behind Bjarne and Herb's Papers on Unified Call Syntax !!!

A long time back, in one of my posts here , I had discussed about Extension Methods ... in C++; sorta! It seems that the grand daddy, Bjarne Stroustoup , had read my post, and was impressed. So he has published a paper - Call syntax: x.f(y) vs. f(x,y) . Good thing except I don't like the idea of assuming x.f(y) for f(x, y) while the reverse is the actual idea of extension methods. You will know when you read his paper. It seems the commander,  Herb Sutter , also was impressed with my post. Not only that he too doesn't seem to like the x.f(y) for f(x, y) idea. Great men think alike. LOL! So he published his paper -  Unified Syntax . How is that? Needless to say, I was completely kidding about the Herb and Bjarne about borrowing the idea of extension methods from my post. I wasn't even born when Bjarne invented C++. The papers are detailed and deep in considering various scenarios from a language standard perspective unlike my post where I just spotted the existin...