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

I'm glad I work in a language where this is

  assertRaises(FooBarException, thisShouldThrowFooBarException)
Impossible to mistype, and states exactly what should happen.


First thing to do when working with the former is to write some code that will allow you to write the latter.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: