-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove "typed hcat" syntax? #6491
Comments
Essetntially a dup of #6478. The |
I may be a heretic or a blessed lunatic, but here goes... This sort of idiosyncrasy is much less likely in languages built from a formal gramnar. I was very surprised when I realized that the Julia grammar is defined implicitly by the parser implementation. No one can say you guys don't have guts. I would never attempt to implement a rich type system without a formal grammar, just as an example. Having a grammar (even if inferred post facto) might be useful for non-self-hosted code manipulation as well as for thinking through proposed future language changes. |
If we had a formal grammar, it would state that |
Fair enough. Then it's a feature and I won't be surprised. I was one of
|
If the point is that we should remove that syntax, then my reaction is quite different: I think it's very likely we should remove it. |
If I have a point, I think it's that it's useful to minimize surprises. If we retain the perfectly reasonable type annotation syntax (yes) and we As much as I dislike syntactic whitespace, at least the consequences in But if I'm told (and I guess I have been) that "whitespace has meaning in Thanks for indulging discussion which probably belongs on the mailing list,
|
I don't think |
also #6405 |
Just got burned by this today myself. |
A space after the first "end" in the code
results in the following error
Without the space the above code works just fine. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: