3 ms·
I don’t think Python “just works” in this regard. It blows up in your face if you mistake a scalar for a dictionary. In Perl, the sigils are there to help you t
by donaldihunter 3y ago
I don’t think Python “just works” in this regard. It blows up in your face if you mistake a scalar for a dictionary. In Perl, the sigils are there to help you the programmer distinguish your $scalars from your @arrays and your %hashes. It still blows up in your face if you get it wrong but there’s a visual indicator to help you get it right.