Abhijit Sarkar Abhijit Sarkar - 1 month ago 10
Scala Question

Scala package style difference


is cumulative, so
package a.b
can also be written as

package a
package b

Is there any difference between these or is it just a matter of programming style?


The difference is that with

package a
package b

everything from package a is in scope, not just from a.b.