2 ms·
Often times having a one-size-fits-all approach (especially across languages [!]) is not a good idea. Different languages have different optimization technique
by vowelless 14y ago
Often times having a one-size-fits-all approach (especially across languages [!]) is not a good idea.
Different languages have different optimization techniques for removing code during compilation. Java, for example [1], can optimize out based on static boolean variables. I recommend learning more about each individual language and what it offers to get the best out of it.
[1] http://stackoverflow.com/questions/1344270/java-preprocessor http://stackoverflow.com/questions/1344270/java-preprocessor