Uff, yeah. I used to work with a guy who would immediately turn the panic up to 11 at the first thought of a bug in prod. We would end up with worse architecture after his "fix" or he would end up breaking something else.
13 karma · joined January 31, 2016
One thing I don't like about the A6X2 is that there is a noticeable gap between the screen and the pen. This gap isn't there (or maybe is just way smaller) on the A5X. The screen on the A6X2 is also textured, I guess to try to mimic paper, but I grew to like the gel pen feel of the A5X screen.
int value1 = 0;
int value2 = 0;
if (condition) {
value1 = 8;
value2 = 16;
} else {
value1 = 128;
value2 = 256;
}
Would I have to repeat the if expression twice? int value1 = if (condition) { 8 } else { 128 };
int value2 = if (condition) { 16 } else { 256 };