3 ms·
Well, that depends on context. Always insure your code is good in the context it appears. yourCode = bad; temp = bad; bad = good; good = temp;
by Nevermark 7y ago
Well, that depends on context. Always insure your code is good in the context it appears.
yourCode = bad;
temp = bad;
bad = good;
good = temp;
conclusion = (yourCode == bad)
As we can see from evaluating this code, in this context, it isn’t bad.
In general, if something is bad you can change that thing or change the context. Your job, your living arrangements, etc. People often are slow to change the context, even when a small change can make all the difference.
You might want to create an include file if you have a lot of code to check.
mycodeisalwaysgood.h seems self-explanatory.