> Andrei Zmievski wrote: > > Attention: you have posted C++ template code on PHP mailing list. Please > > pay a $100 fine immediately and carefully proceed to the exit. > > Luckily my peril sensitive sunglasses turned black at the first line > before I even managed to read the template part of the code :-) > > >>To illustrate its use, I can give a "simple" example in C++: > > Now that's one of the funniest jokes I've read on the internals list in > quite a while (-:C
Did you note I wrote "simple" (in quotations)? To a seasoned C++ developer, it's rather ordinary/modern C++ code, but it may not be to others. > And now we all go and quickly wash our brains with soap so we don't get > evil dreams keeping us up at night. I see you're not ready for this. Any language, if you're not familiar with it and its idioms, may seem complicated (and in your case may give you "evil dreams", apparently). However, what you may see as complicated, people in the know see as powerful abstractions, which may lead to simpler to understand code (than without them), again, if you know the language. However, I see that people here "freak out" when they see C++ code (like I said, rather different to if someone presented code in another language - any language - at a C++ forum), so it's pointless to continue with this here. It was meant to illustrate a point, but that was apparently missed completely. Regards, Terje -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php