And, what does it mean? That it's the best way one should do it? |
No. I am saying that it is the only way to do it.
No, this is a requirement. I want to have truly global variable. Accessible from all modules.
Copying all other good languages. |
Java and C# has stolen: classes from Simula, garbage collection from Lisp,
regexes (most used version) from Perl,
inner classes from C++, modules form Pascal, automatic variable type deduction from Fortran, operators from algol and functions from assembly. And their whole syntax from C++. So they should drop these features and instead develop their own unique features.
On a side note, only cars produced by Heneral Motors should use automatic transmission, because they invented it and other companies using it would
copy it. Also you should use Roman numerals and whichever measurement system your ansectors used and not
copy other useful and de-facto standard library.
Do I understand you correctly?
Copying all other good languages. |
Those other languages copied already pending proposals and just implemented it faster :)
For one of the main aims of C++.
you are talking about what crutches? |
About
value_type,
iterator_type and other embers typedefs. And if you like to write
std::unordered_map<std::basic_string<char32_t>, std::function<std::vector<boost::shared_ptr<resource> >(std::basic_string<char32_t>, int)> >::iterator
(real code) you should avoid them
Every single competent programmer? Ever Standard Comitee members are promoting Boost (or writing it)
these from the information that I receice. |
Unicode support added. Adequate people: finally, we waited 20 years fpr that. zwulu: no, there is unicode in other languages! Seriously, what your problem with multibyte characters and Unicode.
What? I am agreeing with you. Total copy of most used type of loop.
Who? smart pointers? Garbage collectors even more retarded and slow. Also lack of sensible RAII in Java and C# leads to extra work of ensuring that all claimed resources (aside from memory) are released properly.
3. I made a point: how could C++ steal feature that was implemented in Java later? And you pointed to feature in Java which existed in C++ before Java creation.
Main point: All features of computer sciens were invented long ago. They were tested, proved themself useful and were adopted by programming languages. C++ is nonoriously slow to adopt those, so you will see it as
copying features as it adopts it later than other languages.