I understand that in most programming language, following statement comparison returns true:
if something {}
So it's equivalent to
if something == true {}
The question I have is, why or how does that statement default to assuming something = true without specifying == true?
Aucun commentaire:
Enregistrer un commentaire