Hacker News new | ask | show | jobs
by qu4z-2 4878 days ago
My "favourite" thing about the One Class Per File thing is that (certainly when I last used it) javac would refuse to compile the class file unless it was in a directory tree identical to its namespace, and you fully specified that on the command-line.

  # Worked
  javac org/eclipse/something/SomeClass.java

  # Failed
  cd org/eclipse/something/ && javac SomeClass.java
1 comments

Yep, unacceptable dude! How dare you exhibit common sense? :)