257
reputation
1
2
6

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

0
answers
2
questions
~185
people reached
  • Member for 5 years, 9 months
  • 1 profile view
  • Last seen Jan 12 at 6:49

Top tags (3)

Score 0
Posts 2
Score 0
Posts 2
Score 0
Posts 2

Top posts (2)

Badges (9)

Gold

1

Rarest

Silver

2

Rarest

Bronze

6

Rarest