Quote:Original post by Boder
How would the "list of expressions to be evaluated look"? Would there be two {} {} sections?
The "list of expressions to be evaluated" would look like valid c++ code (whereas the current incarnation does not). The for statement takes (expr list; bool expr; expr list), for example. My point with the initializers is that they were just kinda thrown in and have no relation at all to any other syntax in the C++ language. Assigning a value to a variable shouldn't look like a function call, unless that is what assigning a value to a variable looks like in the language.
The entire language was just sort of slapped together. I wasn't kidding when I said it was a hack. I don't mean it in a bad way (beyond the intrinsic badness of it, at least). It originated in a desire to coerce a non-OO language to work with classes, etc., without sacrificing backward compatibility. It's a recipe for disaster. [grin]