Better HN
topnewbestaskshowjobs
Log inSign up

xfoo__

1 karma · joined Feb 23, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

So how do people defend this one:

  >>> [][0]
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  IndexError: list index out of range
  >>> 
  >>> [][0] : "bug"
  >>>