rdp / arguments Goto Github PK
View Code? Open in Web Editor NEWThis project forked from maca/arguments
You don't have to wait until Ruby 2.0 to get (named|keyword) arguments. Has been tested with 1.8.6 and 1.9.1
This project forked from maca/arguments
You don't have to wait until Ruby 2.0 to get (named|keyword) arguments. Has been tested with 1.8.6 and 1.9.1
the 'approximately' isn't all that helpful while debuggin...possibly replace with big switch?
without the 1.1.9
need to be careful not to evaluate blocks on accident if they shouldn't be [ex:
go(a, b = 'a')
go(:b => 3) # should never instantiate an 'a' string
http://github.com/maca/arguments/commit/d113c1e41a8ce6fff7370ffb7bf4e8434e82e975
shows a way to not clobber--is there a better?
def initialize logger, key_multiply_redundancy = 1, max_num_simultaneous_gateway_requests_per_query = 1, gateway_pool_size = 1, gateway_pool_creation_race_size = 0 # these typically come back very quicky, but still...we'll keep pool size and pool creation race size close in number to free up some descriptors for ourselves :)
fails
class A; def go; end; named_args_for :go; end
the lines we "add" to backtraces of exceptions--strip out
except that would slow things down considerably--forget it
or should it just raise? [it does currently, so we're ok there]
yep
oh baby :P
a.named.go(:a => 3, :b => 5)
to double check
named blocks are slow and need to go
yup
can we take some out? Is this faster or slower than my old way? or less compat though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.