Proposal for std.path replacement
spir
denis.spir at gmail.com
Fri Mar 4 09:03:49 PST 2011
On 03/04/2011 04:42 PM, David Nadlinger wrote:
> On 3/4/11 4:10 PM, Andrei Alexandrescu wrote:
>> On 3/4/11 2:35 AM, Lars T. Kyllingstad wrote:
>>> One more vote for dirName() has been noted. :)
>>
>> Meh. Since we have basename which is a replica of the homonym Unix
>> command, I think dirname (with that exact spelling) would be most
>> appropriate there.
>
> I must admit that I don't quite remember the results of the previous naming
> convention discussion regarding function names »imported« from other
> languages/systems, but my position hasn't changed since then: Just go with the
> D naming convention to make the name easy to remember/guess for _D
> programmers_, keeping in mind that DMD has a spell-checking feature to assist
> people new to D.
Yes; if keep on adopting names that don't follow D's convention under the
pretext they exist somewhere, then let's just throw the convention to the
garbage, stop talking about such topics, and let everyone (first lib authors)
use whatever they find nice.
"patchwork lexicon"
Denis
--
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d
mailing list