In Java, varargs methods are rewritten so the trailing ... argument becomes an Object[] parameter. This makes interacting with variadic Java methods obnoxious at the least, because a user must either remember to add a trailing nil if they are passing 0 varargs, or themselves construct and populate the Object[] parameter. What with Jaunt's general bent towards a smoother UX, this would be a pretty obvious feature to add.
In Java, varargs methods are rewritten so the trailing
...
argument becomes anObject[]
parameter. This makes interacting with variadic Java methods obnoxious at the least, because a user must either remember to add a trailingnil
if they are passing 0 varargs, or themselves construct and populate theObject[]
parameter. What with Jaunt's general bent towards a smoother UX, this would be a pretty obvious feature to add.Prior art: