Skip to content

Update scala-for-java-programmers.md: Rename l to left for clarity #3050

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

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

fungyee-charlie
Copy link
Contributor

The variable l was misleadingly similar to the constant 1 on the website, causing 30 minutes of confusion before realizing it was an alphabet 'L'. Renaming to left for the left sub-tree representation enhances readability and eliminates potential ambiguity.

The variable `l` was misleadingly similar to the constant `1` on the website, causing 30 minutes of confusion before realizing it was an alphabet 'L'. Renaming to `left` for the left sub-tree representation enhances readability and eliminates potential ambiguity.
@sjrd sjrd merged commit e42fca5 into scala:main Aug 5, 2024
1 check failed
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