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

I've found in JS what annoys me a lot is that I can't do this

  var x = 'foo'
  {x: 1}
Also, where have you seen that class pattern so much? That seems very odd. I almost always find dicts, sometimes __slots__ classes for CPython performance.


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

Search: