/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.cppstories.com
| | gcher.com

Recently I got interested in the new Apple language Swift, that will probably replace objective-c as the language of choice for native iOS and OSX applications. There are many things I like in Swift, and also other things I don't like. But one thing that I really enjoy is the support for lambdas, specially compared to the way it works in C++. Why do I think the lambdas in swift are better?
6.5 parsecs

Travel
| |
| | www.cppstories.com

Recently, I've found somethinginterestingin Visual Studio that improved my Logger! I had a function called AddMsg /** appends message to the log file */ void AddMsg(LOG_MODE m, int level, char* strModule, char *strMsg, ...); But, when you wanted to add a comment you needed to use quite complicated and long syntnax, like:
1.1 parsecs

Travel
| |
| | www.bfilipek.com

What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope? In this blog post, I'd like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation.
0.0 parsecs

Travel
| |
| | www.thereadingdiaries.com

Books Book Blogger Foodie blog
19.4 parsecs

Travel
|