superduperenigma@lemmy.world 8 months ago
Looks like you’ve got a bug in there.
if false no cap canYouSeeMe = false if cap canYouSeeMe = true sheesh
Won’t this always go into the else/cap condition since the if condition is checking to see that false == true?
prof@infosec.pub 8 months ago
You’re correct, but it doesn’t really matter for demo purposes. In an actual use case (whatever that would be for this language) you would of course want to use some kind of variable or expression there instead of a constant.