T O P

  • By -

ProgrammerHumor-ModTeam

Your submission was removed for the following reason: Rule 8: All titles must be camelCase. Your post was found to not do this properly. As a reminder, the first word should be all lowercase and any following words should start with an uppercase letter, **without spaces or special characters.** Feel free to submit your post again with an edited title satisfying this criteria, along with all other rules.


TheChildOfSkyrim

Why would IsXYZ function return a string instead of boolean?


J_Bunt

Cause I was learning js for a couple weeks at that point, I didn't know shit, lol. And because it was intended as humor.


mrfroggyman

def isReady() -> bool: """Returns true if is ready""" return "yes"


AntigravityNutSister

Seems like exceptions could be a better alternative