This website works better with JavaScript.
Explore
Help
Register
Sign In
Archives
/
cheat.sheets
mirror of
https://github.com/chubin/cheat.sheets
Watch
2
Star
0
Fork
You've already forked cheat.sheets
0
Code
Issues
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6356006b53
master
len80
tests
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '6356006b53'
${ noResults }
cheat.sheets
/
sheets
/
scala
/
Variables
12 lines
101 B
Plaintext
Raw
Blame
History
// variables
var x = 5
// constant
// GOOD
val x = 5
// BAD
x=6
// explicit type
var x: Double = 5
Reference in New Issue
View Git Blame
Copy Permalink