Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> * No need to specify type. Use var.

I see types everywhere; they appear to just have been moved from the left-hand side to the right-hand side? eg:

  var i0 = $(Int, 5);
  var items = new(Array, Int, i0, i1, i2);


Mmm, kinda.

    var i0 = $(Int, 5);
    i0 = $(String, "Hello");
Perfectly valid.




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

Search: