Hey one more thing assuming a syntax like one of these which do you like better importall a.b.c.d from a.b.c.d import *
-
-
Replying to @mcclure111
(the awkward thing about the latter for me is that in this language you could imagine a scenario where you literally import the * operator)
2 replies 0 retweets 4 likes -
Replying to @mcclure111
You could do like lots of functional languages and make the name of the infix operators be (*) and (+) and etc to fight that.
1 reply 0 retweets 0 likes -
Replying to @porglezomp @mcclure111
So you've got library.math.(*) instead of library.math.*
1 reply 0 retweets 0 likes -
-
Replying to @mcclure111
For operators in general, or only for *? You could also allow quotes for anything that conflicted, so import "*"
3 replies 0 retweets 0 likes -
Replying to @porglezomp
Oh Well \ was going to be a general "remove all specialness" So \if is a symbol named if
1 reply 0 retweets 2 likes -
Replying to @mcclure111
Okay, that sounds good. I think C# does this with @, but there are better uses for @.
1 reply 0 retweets 0 likes -
Replying to @porglezomp
The reason I like it is that it means symmetry with \ at end of line
2 replies 0 retweets 0 likes -
Replying to @mcclure111 @porglezomp
It's just the "remove specialness" operator
1 reply 0 retweets 0 likes
Same thing in Verilog jfyi. Everything between a \ and the next whitespace is an ordinary identifier.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.