Okay #mastodon devs, how can I make this code pass the linting errors without being confusing to read?
The warning is about using the return value for the if — should I just put this in it's own method?
@MistressEmelia
I always do a separate method for that kind of thing.
@MistressEmelia Which language is this? You're assuming that value is boolean. What if it isn't? XD if that was a strongly typed language that would be your issue. I know it probably isn't but something to look at?
@allisonrei that'd be ruby; I rewrote it though. And then got horribly confused because my brain really does not bode well with matrixes of boolean logic.
@MistressEmelia this if is the last thing in a method?
will it be satisfied if you explicitly return sensitive instead of returning the if?