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

Random observation: WTF would be a great base exception in a new, hip programming language.

   WTF.happened
   WTF.context
   ...and so on


Android has a Log.wtf() method for logging "What a Terrible Failure" conditions:

http://developer.android.com/reference/android/util/Log.html...


Android has Log.WTF which of course stands for What a Terrible Failure (and totally not that other word, the similarity is a complete coincidence /s )



Not a good idea, because now you cannot easily grep anymore for "WTF" in source code comments :)


Use a tool that lets you search specifically within comments, within string literals, outside comments, outside string literals, etc.

All the JetBrains tools do this AFAIK.


there's Log.wtf method in Android for errors that shouldn't have happened




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

Search: