/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

nilcoalescing.com
| | ashishkakkad.com
4.8 parsecs away

Travel
| | Blocks in Objective-C In Objective-C we are using the blocks(completion handlers) with functions as follows : [code language="obj-c"] - (void)yourFunctionName:(NSString *)yourString withCompletionHandler:(void (^)(NSString *yourResult))block; [/code] Closures in Swift Closures are self-contained blocks of functionality that can be passed around and used in your code. Closures in Swift are similar to blocks in C and Objective-C ... Read more
| | gcher.com
4.4 parsecs away

Travel
| | 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?
| | peanball.net
3.7 parsecs away

Travel
| |
| | perrotta.dev
38.2 parsecs away

Travel
| When writing portable shell scripts, should we prefer #!/bin/bash or #!/usr/bin/env bash? I tend to write #!/bin/bash by hand, but here is an argument to prefer ...