Open msavoury opened 10 years ago
classes (and objects) from scala.collection.mutable are not imported by default. ex: ArrayBuffer
At least for ScalaTest "-cp .:~/lib/scalatest....jar" does not compile where as "-cp ~/lib/scalatest...jar:." (notice the current directory is added at the end) does. I need to find out why, if it's on the classpath it needs to be the first one.
Always explicitly define a return type for methods, especially in a public API, and use the most general return type that you can
I'm sure that as we progress we'll have small chunks of knowledge that'll be useful. We need to decide where these miscellaneous tips will go.