Y
Hacker News
new
|
ask
|
show
|
jobs
by
another2another
684 days ago
.. save yourself an else :
int value1 = 128;
int value2 = 256;
if (condition) {
value1 = 8; value2 = 16; }