Ah man, those reversed headings made my head spin!
That makes me think of a nice little tip: where possible, give your booleans positive names. My brain gets seriously confused whenever I see code like:
isNotVisible()
Which becomes:
!isNotVisible()
Or even worse:
!IsNotInvisible()
First Try like there is no-one to solve this problem for you and then you can ask your friends or seniors.
Yeah, this is really good advice. For one thing, you'll be able to ask better questions. But make sure you do ask eventually -- I hate to hear that someone has been sat around for two days, panicking because they haven't made any progress.
Ah man, those reversed headings made my head spin!
That makes me think of a nice little tip: where possible, give your booleans positive names. My brain gets seriously confused whenever I see code like:
isNotVisible()
Which becomes:
!isNotVisible()
Or even worse:
!IsNotInvisible()
Yeah, this is really good advice. For one thing, you'll be able to ask better questions. But make sure you do ask eventually -- I hate to hear that someone has been sat around for two days, panicking because they haven't made any progress.
It's really fun, 😂 Thanks. There is another mind-bender, in the first paragraph. Maybe you've noticed?
Aaah, I'd originally assumed that was a typo! Now I need to lie down ...
🙂😀