http://www.commitstrip.com/en/2015/02/10/the-truth-about-code-reviews/ CommitStrip - Blog relating the daily life of web agencies developers The truth about code reviews CommitStrip 1423593410
@fge the difference is annoying once you need to manipulate those bits. The operations are done on int, so the highest bit can be accidentally set. That would not be a problem with unsigned byte
the problem is harder to avoid with bitwise operators
I presume byte is signed for symmetry with most of the integer types - and then char was added because bit manipulation is annoying with the signed shorts.
I have a Java library that uses log4j for logging. The code that calls it also uses log4j. Does the library logging get rolled up into the logging for the calling application?
I am writing a library. I am also writing an application that uses that library. I would like the application and the library to use the same output file for their logs
Ok. So if I write a second, different application that uses the library, can the second application also have its logs and the library's logs in the same place?
I can't reconfigure the library's log4j configuration to point to a different place everytime i write a new application that uses the library