-
Notifications
You must be signed in to change notification settings - Fork 4
First ten chapters of the Scala 3 Overview documentation #2
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't reviewed the scala-for-X files, yet since it is difficult to do so in html.
@@ -212,6 +211,8 @@ var a = BigInt(1_234_567_890_987_654_321L) | |||
var b = BigDecimal(123_456.789) | |||
``` | |||
|
|||
Where `Double` and `Float` are approximate decimal numbers, `BigDecimal` is used for precise arithmetic. | |||
|
|||
Scala also has `String` and `Char` data types: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems a bit abrupt to end this subsection like this. Maybe reorganize into
## Numbers
## Built-in data types
### Numbers
### Strings
#### String Interpolation
...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully I covered this. Here are the current H2 labels:
## Hello, world
## The Scala REPL
## Two types of variables
## Declaring variable types
## Built-in data types
## Control structures
## Data Modeling
## Scala methods
## Objects
## First-class functions
## Extension methods
## Collections classes
## Contextual abstractions
## Even more
I close this PR in favour of #3 -- where this one is already merged into. |
This is WIP please do not merge. @julienrf and @b-studios, this PR contains the first ten chapters I have created for the Scala 3 Overview documentation.