4 ms·
I don't think it would be much help in that particular situation.
by to3m 11y ago
I don't think it would be much help in that particular situation.
- cannikin 11y agoYeah, what kind of strong typing is going to keep you from NOT calling a function?
- deleted 11y ago[deleted]
- astrange 11y agoThe research into this is usually called "effect systems", I think. You can use it to prove that ugly old APIs like OpenGL are being used properly in your code. As far as the real world goes, all you get is -Wunused.
- jmfayard 11y agoAdding annotation @CheckResult on android.widget.Toast#makeText(android.content.Context, java.lang.CharSequence, int)