Re:Servo Nightly Builds Available
by AlisdairO on Friday July 01, 2016 @09:45AM
(#12015949)
It would be quite nice if there was a synonym for expect (say unimplemented_expect) that meant 'I haven't bothered to implement the proper error handling yet' rather than 'error handling shouldn't be required'. That would really enhance auditability of in-progress code.
[ Parent
| on HN ]
Python has a nice built-in exception for this: NotImplementedError. It's intended usage was related to abstract base classes, but it's taken on this secondary use case recently.
Re:Servo Nightly Builds Available
by Manishearth on Friday July 01, 2016 @12:20PM
(#12017420)
unimplemented!() exists