For example, HttpServer.scala contains HttpServer object (with other classes) and has package setup:
package colossus
package protocols.http
package server
However, the file is located in colossus/protocols/http directory. I find the multiple package statements confusing as it makes it harder to know where stuff is coming from. Not matching the directory means it is harder to know where to find a file. Thoughts?
For example, HttpServer.scala contains HttpServer object (with other classes) and has package setup:
However, the file is located in
colossus/protocols/http
directory. I find the multiple package statements confusing as it makes it harder to know where stuff is coming from. Not matching the directory means it is harder to know where to find a file. Thoughts?