Is assert evil?

Posted by dehmann on Stack Overflow See other posts from Stack Overflow or by dehmann
Published on 2009-12-06T04:04:19Z Indexed on 2010/03/27 6:43 UTC
Read the original article Hit count: 312

Filed under:
|
|
|
|

The Go language creators write:

Go doesn't provide assertions. (...) Programmers use them as a crutch to avoid thinking about proper error handling and reporting.

What is your opinion about this?

© Stack Overflow or respective owner

Related posts about assert

Related posts about error-handling