top | item 6052712

(no title)

JackdawX | 12 years ago

A better example for duck typing would be something like:

var my_func(var int_or_string, var int_or_obj) { ... return int_or_string_result; }

Simplifies certain operations, complicates debugging. Great for small scripts though.

discuss

order

No comments yet.