4 ms·
> Is it bad that I've written some of these in my normal code? yes
by jackewiehose 6y ago
> Is it bad that I've written some of these in my normal code?
yes
- m463 6y agoI wonder if even replying is encouraging this behavior.
- Nevermark 6y agoWell, 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.