Hacker News new | past | comments | ask | show | jobs | submit login

What is method scoring? I’ve never heard that term in VM/compilers and my Google-fu is failing me.



I imagine it refers to the comparison of argument types to find the best match among overloaded methods with the same arity. e.g. when the machine has got "void foo(java.lang.Object)" and "void foo(java.lang.Number)" to choose from.


Yep, exactly.

Gets to be lots of fun when you throw autoboxing and, especially, generics, into the mix.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: