3 ms·
Random observation: WTF would be a great base exception in a new, hip programming language. WTF.happened WTF.context ...and so on
by emehrkay 10y ago
Random observation: WTF would be a great base exception in a new, hip programming language.
WTF.happened
WTF.context
...and so on
- skocznymroczny 10y agothere's Log.wtf method in Android for errors that shouldn't have happened
- poizan42 10y agoAndroid 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 )
- cpeterso 10y agoAndroid has a Log.wtf() method for logging "What a Terrible Failure" conditions: http://developer.android.com/reference/android/util/Log.html#wtf(java.lang.String,%20java.lang.Throwable) http://developer.android.com/reference/android/util/Log.html...
- oconnor663 10y agohttps://simonsapin.github.io/wtf-8/ https://simonsapin.github.io/wtf-8/
- amelius 10y agoNot a good idea, because now you cannot easily grep anymore for "WTF" in source code comments :)
- stephenr 10y agoUse 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.