[Pharo-project] Categories and Packages
Categories are used to group related Classes together in an Image. The notion of Repositories and Packages were probably introduced to manage saving versions of code outside the Image and sharing this code easier. I am only trying to understand the reason why Classes are grouped in Categories as well as Packages especially since by convention the Package name is the same as the Class name? -- View this message in context: http://forum.world.st/Categories-and-Packages-tp2216632p2216632.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
packages were added on top and use categories. Ideally I would like to remove categories. The problme is that it is not that simple because you may have large packages and want to structure it inside. Stef On May 14, 2010, at 4:08 PM, Geert Claes wrote:
Categories are used to group related Classes together in an Image. The notion of Repositories and Packages were probably introduced to manage saving versions of code outside the Image and sharing this code easier.
I am only trying to understand the reason why Classes are grouped in Categories as well as Packages especially since by convention the Package name is the same as the Class name? -- View this message in context: http://forum.world.st/Categories-and-Packages-tp2216632p2216632.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse wrote:
packages were added on top and use categories. Ideally I would like to remove categories. The problme is that it is not that simple because you may have large packages and want to structure it inside.
I guess having packages that are that large that they need additional structure may not be a good idea though no? Having both Categories and Packages is very confusion from a usability point of view. -- View this message in context: http://forum.world.st/Categories-and-Packages-tp2216632p2216769.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On Friday, May 14, 2010, Geert Claes <geert.wl.claes@gmail.com> wrote:
Categories are used to group related Classes together in an Image. Â The notion of Repositories and Packages were probably introduced to manage saving versions of code outside the Image and sharing this code easier.
I am only trying to understand the reason why Classes are grouped in Categories as well as Packages especially since by convention the Package name is the same as the Class name?
The package name is normally a prefix of the category name. The class name has nothing to do with it. Lukas
-- View this message in context: http://forum.world.st/Categories-and-Packages-tp2216632p2216632.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
Lukas Renggli wrote:
I am only trying to understand the reason why Classes are grouped in Categories as well as Packages especially since by convention the Package name is the same as the Class name?
The package name is normally a prefix of the category name. The class name has nothing to do with it.
Sorry, that was supposed to be "... the same as the Category name" :) -- View this message in context: http://forum.world.st/Categories-and-Packages-tp2216632p2216856.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (3)
-
Geert Claes -
Lukas Renggli -
Stéphane Ducasse