News for hackers. Stuff that matters.
Re:A Matlab Programmer's Take On Julia by dkarl on Tuesday April 10, 2012 @11:15AM (#3822540)
In Julia, I could do

  (s,z,zz) = spectrum(x);
but I end up with variables z and zz that clutter the workspace and take up memory.

This is easy to fix with a bit of additional syntax. Using a placeholder to indicate values you don't care about, that would be:

  (s,_,_) = spectrum(x);
I don't know if it's simple on the implementation side, but it's easy to read and understand.

There are no comments on this comment yet.