Re: Versioned Packagers (Iteration IV)

From: Date: Thu, 04 Jul 2024 19:05:47 +0000
Subject: Re: Versioned Packagers (Iteration IV)
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-124223@lists.php.net to get a copy of this message
> On Jul 4, 2024, at 12:02 PM, Mike Schinkel <mike@newclarity.net> wrote: > > Your definitions are language-specific. For example, in Go the definitions for those terms are > the opposite of how you defined them. > > The point being that PHP is free to choose how they are defined with respect to PHP. > > To which I will add "as long as the terms are used consistently.” Okay, some languages may swap the terms, others like JS glom the concepts together, and in Perl 5 “package Foo” defines a module. I’d say most PHP devs are more familiar with the terms as they’re used in JS, but whatever makes sense for PHP is what’s best. I suppose I do have a dog in the fight, but I don’t much care how it’s groomed. Then there’s GHC Haskell which has import “package-name” ModuleName.{Foo,Bar,Baz}, which seems to cover all the bases. Decent ideas from the syntax, but I don’t think I want to replicate backpack :) —c

« previous php.internals (#124223) next »