Gentoo Archives: gentoo-dev

From: Joe Peterson <lavajoe@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: GLEP 55
Date: Tue, 10 Jun 2008 16:04:51
Message-Id: 484E9785.7000006@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Re: GLEP 55 by Bernd Steinhauser
1 Bernd Steinhauser wrote:
2 > And that is, what this is about, making EAPI bumps as less painful as
3 > possible. The filename is the easiest solution for that.
4
5 In any design, there are "easy" short-cuts that can be taken. But
6 sometimes these short-cuts break paradigms that are fundamental. If you
7 wanted, you could throw a bunch of things into the filename and make it
8 255 characters long to avoid reading the file, but that clearly would be
9 a pretty bad design.
10
11 > I really fail to see the point, why it is so important, that the
12 > extension will still be .ebuild in the future.
13 >
14 > There is a lot of software, that keeps using the same filename for
15 > different versions of stuff and in many cases, that is a huge mess.
16
17 Is the "huge mess" you are thinking of the basic reality that software
18 of any reasonable complexity needs to deal with file formats evolving?
19 If so, that is exactly why EAPIs now are being introduced.
20
21 But almost all software deals with this transparently - no need to
22 expose it to the user, and sticking the version in the filename is both
23 fragile (renaming the file can alter it) and seems like a hack.
24
25 > I still haven't seen any good reasons against it.
26
27 I realize that there are two camps of people here. One camp sees
28 mangling the filename extension as an undesirable way to deal with this,
29 and the other camp simply sees no problem with this.
30
31 I want to point out, however, that the fact that you do not see the
32 issue does not make the issue invalid. I am sure there are people who
33 work at Apple who care nothing about the way an iPhone looks or feels
34 and only care that it works correctly. If that person went to Steve
35 Jobs and said, "Why are you spending so much money to make this thing
36 look cool?", he would say that Apple is known for making cool things,
37 and no one would buy something that works great but looks like a piece
38 of junk. He'd be right.
39
40 I realize this analogy is a bit of an exaggeration, but there is no
41 reason we cannot make EAPIs work correctly and very efficiently (this is
42 where technical innovation comes in), while also keeping the basic
43 interface (and I include file name convention here) clean, standard,
44 uncluttered, uncomplicated, and elegant.
45
46 -Joe
47 --
48 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Re: GLEP 55 Bernd Steinhauser <gentoo@×××××××××××××××××.de>
Re: [gentoo-dev] Re: Re: GLEP 55 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>