3 ms·
Totally unrelated, but looking in the source for PredictionIO (which is Scala) they've got this really deep directory nesting before you can find the code. Tha
by bratsche 13y ago
Totally unrelated, but looking in the source for PredictionIO (which is Scala) they've got this really deep directory nesting before you can find the code. That's something that always annoyed me about typical Java apps.. is that also a common thing in the Scala world?
- noelwelsh 13y agoIf you use the sbt build tool, which is by far the most popular in the Scala world, you have to use Maven-style directory layout which is the originator of the horror you refer to (see http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html http://www.scala-sbt.org/release/docs/Getting-Started/Direct...). Most Scala projects don't bother with the com/foo/mystuff directory structure part, retaining just the mystuff directory, which is a small saving. It's an annoying vestige, but I typically don't navigate the directory structure to find files anyway. Instead I use projectile in Emacs. I'm sure other editors have similar systems.