Re:A core Python committer's (very shallow) thoughts on Dart
by nevernude on Monday May 14, 2012 @02:25PM
(#3972406)
Are you also a fan of list.first() over list[0]? I think it's just a convention that takes getting used to and ends up being quite handy.
Re:A core Python committer's (very shallow) thoughts on Dart
by stcredzero on Monday May 14, 2012 @03:46PM
(#3972811)
Have you seen some of the early Bittorrent code? Code with lots and lots of this[n:-3] or this[1,:,:] sprinkled around in the same piece of code starts to get like regexp or Perl. It's a cool operator to have to get stuff specified in a few keystrokes, but that makes it quite terse, so high density use of it is hard to read.
A last method is much more intention revealing and easier to scan for me than negative indexes.