using
keyword instead of //> using
?
#21703
joan38
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is following a discussion on Discord about
//> using
inscala
Hi,
Sounds like there is no plan of having the top level
using
keyword excluded by the language spec.Meaning
//>
is necessary in front ofusing
with no plan of changing this.I for any Scala dev that knows the context and history on why the
//>
, it make sense. But for any new comer to Scala it's kind of weird to have to do//>
.Most people will not understand the difference between
scalac
andscala
.If the compiler (
scalac
) needs to ignore the top level keywordusing
, we should do it instead of relying on some commented (but not really) code.The
//>
feels like a temporary hack that we should be looking to resolve soon.Thanks
Beta Was this translation helpful? Give feedback.
All reactions