My big takeaway is that Ruby generally does things the "most-popular" way, and that maybe a lot of those obscure languages are obscure for a reason (object["method"](params) to invoke a method?!?)
var f = []
f['push'](2)
// f -> [2]
Pike also has the more familiar object->method(params) syntax.It's actually a pretty useful bit of syntax. I've been using it recently when combining multiple objects deserialised from json.
var report = [name, dob]
var person = { name: 'Andrew', dob: '1980/03/23' }
_.each(report, function(prop) {
console.log(person[prop])
} var report = ['name', 'dob'];
var person = { name: 'Andrew', dob: '1980/03/23' };
report.forEach(function(prop){
console.log(person[prop]);
});