6,596
reputation
1
7
9

VLAZ

To be, or not to be, that is the question

Translating it into code, we get

theQuestion = 2b || !2b

This returns true for any value of 2b, making the evaluation redundant. We can optimise it by removing the expression and substituting with the result.

theQuestion = true

5
answers
4
questions
~1k
people reached
  • Member for 6 years, 1 month
  • 27 profile views
  • Last seen Apr 27 at 5:47

Top tags (14)

Score 14
Posts 8
Posts % 89
Score 4
Posts 1
Score 4
Posts 1
Score 4
Posts 1
Score 3
Posts 1
Score 3
Posts 1

Top posts (9)

Badges (17)

Gold

1

Rarest

Silver

7

Rarest

Bronze

9

Rarest