Skip to content

Add explanation that indentation is significant in Scala 3#3272

Open
Dev-CodeBox wants to merge 1 commit intoscala:mainfrom
Dev-CodeBox:fix-scala3-indentation-note
Open

Add explanation that indentation is significant in Scala 3#3272
Dev-CodeBox wants to merge 1 commit intoscala:mainfrom
Dev-CodeBox:fix-scala3-indentation-note

Conversation

@Dev-CodeBox
Copy link
Contributor

Added a short beginner-friendly explanation in the Scala 3 Control Structures chapter to clarify that indentation is significant in Scala 3.

New learners may not realize that Scala 3 uses indentation-based syntax similar to Python, where whitespace affects program structure. This note helps avoid confusion and common compilation errors.

No existing content was modified — only a small explanatory section was added for clarity.

@SethTisue SethTisue self-assigned this Feb 9, 2026
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

Comments