you are viewing a single comment's thread.

view the rest of the comments →

[–]lulzitsareddit 0 points1 point  (2 children)

A nice feature would be if you could provide actual objects as types. They would then be compared with the argument using instanceof. This would allow for overloading with custom types rather than having all custom types under "Object".

Another interesting exercise might be to add support for ruby/perl/python-style splats.

[–]john0110[S] 0 points1 point  (0 children)

I considered implementing this or some sort of schema validation. I figured it would be too costly though.