lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Paige DePol <lual@serfnet.org> wrote:
> Soni They/Them L. <fakedme@gmail.com> wrote:
> 
> > I don't like using centralized authorities (DNS) for this stuff.
> > 
> > Why not use UUIDs?
> > 
> > local net = require "YOUR_UUID.network"
> 
> UUID Identifier:
> 
> local mod = require "5ae29a42-0795-11e8-ba89-0ed5f89f718b"
> 
> Versus:
> 
> local mod = require "net.fizzypop.socket"

In fairness to Soni, shouldn’t that be

local mod = require "5ae29a42-0795-11e8-ba89-0ed5f89f718b.socket"

> For example, it is way more apparent what "net.fizzypop.socket" will
> do... without having to look it up somewhere how would you know what
> "5ae29a42-0795-11e8-ba89-0ed5f89f718b" does?

See above: this is a draw: the socket part gives equal information in both.

That said, I also prefer the domain-style.

P

-- 
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
    Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System