c/programmer_humor · by joyjoy@lemmy.zip · 1yIf the type fits, I sits 131 points · 4 comments · view on lemmy.world
4 Comments
squaresinger@lemmy.world · 5 pts · 1y
In languages where there's no difference between string and char and where strings are sequences of string, they are endlessly recursively defined.
CodeMonkey@programming.dev · 4 pts · 1y
What language is that? That does not conform to duck typing.
joyjoy@lemmy.zip · 4 pts · 1y
In Python, strings are sequences of single length strings, which themselves are sequences of strings.
lime@feddit.nu · 1 pts · 1y
typed python is a mess