The underscore actually is used as a variable name, which could be dangerous in the code. I am not sure if this is worth to take the risk.
On Wednesday, April 22, 2015 at 6:00:00 PM UTC-7, Darwin Darakananda wrote: > > You can use underscore _ as a placeholder, for example: > > _, _, x = (1, 2, 3) > > > On Wednesday, April 22, 2015 at 5:09:16 PM UTC-7, Ryan Li wrote: >> >> Hi, >> I was wondering if there is any argument placeholder in Julia. >> In Matlab, if we do not require one return argument, we just replace it >> with ~, e.g., [~,R]=qr(A). >> Is there any similar behavior in Julia? >> Best, >> Yingzhou >> >
