News for hackers. Stuff that matters.
Re:L - the Little Language on Top of Tcl/Tk by acqq on Friday October 08, 2010 @02:44PM (#1772812)
Interesting idea, still a bit "stiff" for my taste. I'd allow a few more "modern" tricks but still keep it mostly "C-like" (because it's obvious its main goal was to be immediately readable and editable without the surprises to the C programmers). For example,

  n := 1;
  s := "abc";
like in Go (and Limbo) as an allowed replacement for

  int n = 1;
  string s = "abc";
And then the same would function in the for loop:

   for ( i := 0; i < 10; i++ ) {
   }
(I'd also rather write:

  struct dirstats {
     int files, size, total_files, total_size;
  }
than in four rows member by member.)

There are no comments on this comment yet.