Golib: goroutines and channels for Dart
github.com1 pointsby mtomassoli1 comments
with myfunc(iter) << 'x, y':
code which uses x and y
instead of def some_func_name(x, y):
code which uses x and y
myfunc(iter, some_func_name)
If you prefer the second form, then you don't need code blocks.
I think the first form is much better.
It's not just a matter of saving one single line: you don't have to define a function which you'll never use again, so the first code is actually more readable.
I'm not trying to convince anyone that my "project" is useful because that's not my project anymore. Anyone can look at it, dissect it, propose new feature, etc... Now that the thrill of the exploration is almost over, I'm losing interest... but I'll keep an eye on my repository on bitbucket.
By the way, if someone could provide better examples, documentation, etc... I'd be grateful. Let's just say I'm not much into the "convincing thing". If you need convincing, don't look at me. I gave you an object. Now it's your job to figure out what to do with it (or just toss it away) ;)