The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
3answers
2k views

What is the point of Java's package naming convention?

I don't understand why Java uses the reverse of a (probably hypothetical) domain name as the name of a package, while mostly there is no connection between the domain name that some people uses and ...
3
votes
2answers
3k views

Packages organisation with MVC design pattern [duplicate]

I have been programming quite a lot now and still can't decide which of these packages hierachies was the best: package1 Class1Controller Class1Model Class1View package2 Class2Controller ...
0
votes
1answer
83 views

How to link classes in different packages (on different pages)?

Extending the answer to this question, I have broken down a large system into a few classes per package. Each package is now shown in a different page for readability, but now how do I show the ...
41
votes
1answer
23k views

Module vs. Package?

Whenever I do from 'x' import 'y' I was wondering which one is considered the 'module' and which is the 'package', and why it isn't the other way around?
4
votes
4answers
502 views

Naming conventions and organization of packages

I've been programming in Java, C#, Python and AS3 most of the time and in all of these languages there are packages (or something like that). The problem I found is with the naming convention, or even ...
1
vote
2answers
138 views

FOSS Development: Who develops the OS-specific packages?

I have a couple of FOSS projects. They can be a bit of a pain to get running unless you've got dependencies in place already, which I figure is par for the course for FOSS projects. We know that each ...
82
votes
1answer
15k views

Should package names be singular or plural?

Often, in libraries especially, packages contains classes that are organized around a single concept. Examples: xml, sql, user, config, db. I think we all feel pretty naturally that these packages ...
5
votes
4answers
1k views

Packaging F#/C# Application

There is a .NET application built using F# (the core part, as a DLL) and C# (the GUI part, using WPF). What is the best way to package it and to make an installer package and what are the most ...
2
votes
3answers
374 views

Should I use a root namespace?

I'm currently working on a couple projects in Flash ActionScript, and I've been building up a small library of classes. I've been using a naming convention similar to: foo.events.Bar and ...
4
votes
1answer
420 views

What is the formal definition of a meta package?

There are several examples of packaging where an application package is built, named, described, even licensed, but contains only setup code and dependencies -- it has no first-class runtime software ...
6
votes
3answers
953 views

What do you think about gems and eggs? Alternatives? [closed]

I've read recently some criticism (see 1, 2, 3) about the packaging distribution system of two popular programming languages: Ruby gems and Python eggs. The most important argument stated against them ...
12
votes
4answers
199 views

Merits of Namepsaces/Packages

Some programming languages (e.g. Java and C++) have language features called "packages" or "namespaces". How useful is it really to have namespaces? It is possible to mark functions and classes as ...
5
votes
2answers
2k views

Abstract classes in package structure

I have an abstract class that will have many implementors. There are, of course, many places to put abstract classes in a Java package structure. Should the abstract class be in the same package as ...