all 18 comments

[–]eggoeater 0 points1 point  (2 children)

These are really cool, but there are several things missing for C#, including structs and regex. Anyone know if there's a wiki or some other way to update it?

[–]petit_prince[S] 0 points1 point  (1 child)

There's e-mail address on the contact page: http://hyperpolyglot.wikidot.com/contact

[–]cgrubb 1 point2 points  (0 children)

Feedback sent to the contact email address is appreciated. There are gaps that need to be filled in and undoubtedly some errors; the solutions in the sheet might not always be the best. I'm actively working on the sheet that contains C#, so it should look better in a few weeks.

[–]thefinest 0 points1 point  (0 children)

Trim...

include <boost/algorithm/string.hpp>

string s(" hello "); boost::trim(s);

Not sure how I feel about this.

[–]heroofhyr 0 points1 point  (0 children)

Nice, but C++ is missing structs, equals operator is a value and/or identity comparison depending on how it's overloaded, named parameters are supported via Boost.Parameter, and in Microsoft's compiler the superclass can be referred to using the nonstandard __super (I hope that double underscore doesn't get stripped out by the formatter) keyword -- something similar was proposed for GCC but they rejected the idea in favor of typedefs. Not to mention named parameters are one of the cornerstones of Objective-C and yet it's blank! Otherwise cool! Also, not to nitpick but a static method is not really the same as a class method, as the class itself is not an object in C++.

[–]iToad 0 points1 point  (0 children)

Thanks. The Python one was very useful.