How is 2[to(13)] better than range(2, 13)? Or 13[isEven] better than isEven(13)?
I see how it's an interesting syntax trickery to play around with, but I don't see how that produces anything other than confusion. It's definitely not something I'd want to see in production.
How is
2[to(13)]
better thanrange(2, 13)
? Or13[isEven]
better thanisEven(13)
?I see how it's an interesting syntax trickery to play around with, but I don't see how that produces anything other than confusion. It's definitely not something I'd want to see in production.
Completely agree. Interesting, but of no pragmatic value beyond raising an interesting idea.
Come on, the syntax looks cool. No, practicality isn't the point here.