Skip to content
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

Update lect-w01-intro.tex to improve clarity #656

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

HampSwe
Copy link
Contributor

@HampSwe HampSwe commented Sep 7, 2022

As "scala-cli" has "run" as a command, a beginner who has used the command "scala-cli run ." previous to reading this might mistakenly believe that "scala" also has the command "run". However, it doesn’t: "run" only refers to the main function in this example. It would therefore be more pedagogical if the main function was called something different (like "hi").

As "scala-cli" has "run" as a command, a beginner who has used the command "scala-cli run ." previous to reading this might mistakenly believe that "scala" also has the command "run". However, it doesn’t: "run" only refers to the main function in this example. It would therefore be more pedagogical if the main function was called something different (like "hi").
@bjornregnell
Copy link
Member

Thanks! Good idea! Next year hopefully scala-cli will be the new scala, but it still can be mixed up with the name of the sub-command conceptually.

@bjornregnell bjornregnell merged commit d3ed979 into lunduniversity:master Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants