How to structure packages
alec.taylor6 at gmail.com
Fri Sep 9 18:38:25 CEST 2011
Kayode: Are the number of pages in that tutorial planned?
> On Sat, Sep 10, 2011 at 1:57 AM, Kayode Odeyemi <dreyemi at gmail.com> wrote:
>> You might want to have a look at this:
>> On Fri, Sep 9, 2011 at 2:37 AM, Chris Angelico <rosuav at gmail.com> wrote:
>>> On Fri, Sep 9, 2011 at 10:45 AM, Nobody <nobody at nowhere.com> wrote:
>>> > The Java compiler also acts as a "make" program. If it doesn't find
>>> > a .class file for a needed class, it will search for the corresponding
>>> > .java file and compile that. So to compile a complex program, you only
>>> > need to compile the top-level file (e.g. HelloWorld.java), and it will
>>> > compile everything which is required. No Makefile is needed, as the
>>> > relationship between classes, object files and source files is fixed.
>>> If that's the entire benefit, then I think this is a rather hefty
>>> price to pay for the elimination of a makefile. Oh wow, I can type
>>> "javac MyClass.java" and it picks up all the others! If you're
>>> dividing a project into multiple files already, is it that hard to
>>> have one more that defines the relationships between the others?
>>> Chris Angelico
>> Odeyemi 'Kayode O.
>> http://www.sinati.com. t: @charyorde
More information about the Python-list