-
Notifications
You must be signed in to change notification settings - Fork 3
For Developers
nestorpersist edited this page Aug 16, 2012
·
21 revisions
OStore currently uses Scala 2.9.1.
-
Use Scala formatter with default settings for all code.
-
Before checkin
-
all code (core and ui) must compile
-
all unit tests must pass. In core run
sbt test-only com.persist.unit.*
-
-
Things to (mostly) avoid
- var
- return
- waits
- Java libraries (where there is a good scala alternative)
- semicolons (unless required)
- null (use Option)
- any concurrent access to mutable data
-
Things to use
- actors
- immutable collection types
To generate Scala doc
cd core
sbt doc
open file core/target/scala-2.9.1/api/index.html