Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-09 Thread Daniel Leping via swift-evolution
-1 will just bring mess and unclearness. It can work with Java-like approach where a package is a folder. Since we have no strict decisions for that - please, don't do it. On Thu, 8 Dec 2016 at 21:10 Gonçalo Alvarez Peixoto via swift-evolution < swift-evolution@swift.org> wrote: > @Jim > > You m

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Gonçalo Alvarez Peixoto via swift-evolution
@Jim You most certainly offended no one! Quite the opposite. This being an open source community, every contribution counts and, imho, you did nothing but to *contribute *to swift's evolution! Thanks for backing typeprivate proposal. We have been looking for ways to restructure our proposal base

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Tino Heth via swift-evolution
Hi Jim, > This is my first use of this forum. I certainly did not mean to cause pain > for anyone. I hope I didn't sound as if I was blaming you — imho it is not realistic to keep track of the evolution process as it is organised now, so even exact repetition is rather common > At Gonzalo's

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Derrick Ho via swift-evolution
lo: please let me know how I can assist you. > - Jim > > _ > From: Tino Heth <2...@gmx.de> > Sent: Thursday, December 8, 2016 12:08 PM > > Subject: Re: [swift-evolution] Any consideration for directoryprivate as a > compliment to fileprivate?

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jim Malak via swift-evolution
hat I have yet to understand the merit of. Gonzalo: please let me know how I can assist you. - Jim _ From: Tino Heth <2...@gmx.de<mailto:2...@gmx.de>> Sent: Thursday, December 8, 2016 12:08 PM Subject: Re: [swift-evolution] Any consideration for dire

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jeremy Pereira via swift-evolution
> On 8 Dec 2016, at 12:52, Aron Lindberg via swift-evolution > wrote: > > I realise the general opinion here seems to be that we don't want any more > changes to the access modifiers and I can understand why, but please take a > look at the use case below: > > "fileprivate" is needed for cer

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Tino Heth via swift-evolution
I guess it's just coincidence, but this thread about "directoryprivate" did start while the thread about "typeprivate" (which ended up as a general discussion) is fading away without real results… To me, this looks like an indication for two* things: a) Access levels are broken** in Swift 3 b)

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Aron Lindberg via swift-evolution
It is hard to argue with that :) I think the problem with more or less all new access level modifiers is that while there are legit uses for folderprivate, typeprivate and what else have been proposed recently, all of them also allow for some pretty no-legit anti-pattern uses as well. I will g

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jim Malak via swift-evolution
ot; - Jim _ From: Saagar Jha mailto:saa...@saagarjha.com>> Sent: Thursday, December 8, 2016 7:55 AM Subject: Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate? To: Adrian Zubarev mailto:adrian.zuba...@devandartist.com>&g

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Adrian Zubarev via swift-evolution
Overkill or not, grouping files into a folder/group + folderprivate smells exactly like a submodule to me. ;) The only thing I’m repeating over and over is that we should fix that open mess and allow protocols to have the same open/public access level as classes have. open protocol from module

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Rien via swift-evolution
My standard reply is that when a type implementation gets this big, it is quite possible that the design is sub optimal. An equate operation between types almost always means that they have something in common that can be isolated into its own file which then also includes the equate operation.

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Saagar Jha via swift-evolution
.com/BeryleLeeInc <https://www.facebook.com/BeryleLeeInc> >> From: Aron Lindberg >> Sent: Thursday, December 8, 2016 7:34:06 AM >> To: Jim Malak >> Cc: Adrian Zubarev; swift-evolution@swift.org >> Subject: Re: [swift-evolution] Any consideration for directoryprivate a

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Aron Lindberg via swift-evolution
I realise the general opinion here seems to be that we don't want any more changes to the access modifiers and I can understand why, but please take a look at the use case below: "fileprivate" is needed for certain things like Equatable since the equatable function might need to know about priv

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread T.J. Usiyan via swift-evolution
Cc:* swift-evolution@swift.org > > *Subject:* Re: [swift-evolution] Any consideration for directoryprivate > as a compliment to fileprivate? > > > As an advice, you should first hear out what the community thinks about > the idea, before writing anything, because one person might

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jim Malak via swift-evolution
Ok, thanks - Jim From: Adrian Zubarev Sent: Thursday, December 8, 2016 7:38:22 AM To: Jim Malak Cc: swift-evolution@swift.org Subject: Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate? As an advice, you should first

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Adrian Zubarev via swift-evolution
6 6:26:10 AM To: Adrian Zubarev Cc: Jim Malak; swift-evolution@swift.org Subject: Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?   I think this is a great idea! I would prefer calling it folderprivate tho. On 8 Dec 2016, at 08.29, Adrian Zubarev via

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jim Malak via swift-evolution
ration for directoryprivate as a compliment to fileprivate? Since Xcode is not a requirement for Swift development no, I was talking about a file system folder. On 8 Dec 2016, at 13.30, Jim Malak via swift-evolution mailto:swift-evolution@swift.org>> wrote: I totally agree. For clarity, are we in ag

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Aron Lindberg via swift-evolution
> To: Adrian Zubarev > Cc: Jim Malak; swift-evolution@swift.org > Subject: Re: [swift-evolution] Any consideration for directoryprivate as a > compliment to fileprivate? > > I think this is a great idea! > > I would prefer calling it folderprivate tho. > >> On 8 Dec 2016, at 08

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Jim Malak via swift-evolution
gt; http://beryle-lee.com http://linkedin.com/in/jamesmalak https://www.facebook.com/BeryleLeeInc From: Aron Lindberg Sent: Thursday, December 8, 2016 6:26:10 AM To: Adrian Zubarev Cc: Jim Malak; swift-evolution@swift.org Subject: Re: [swift-evolution] Any considera

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Rien via swift-evolution
Will discprivate be next? and then systemprivate? -1 Regards, Rien Site: http://balancingrock.nl Blog: http://swiftrien.blogspot.com Github: http://github.com/Swiftrien Project: http://swiftfire.nl > On 08 Dec 2016, at 12:27, Adrian Zubarev via swift-evolution > wrote: > > Personal state

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Adrian Zubarev via swift-evolution
Personal statement: –1 --  Adrian Zubarev Sent with Airmail Am 8. Dezember 2016 um 12:26:17, Aron Lindberg (ar...@me.com) schrieb: I think this is a great idea! I would prefer calling it folderprivate tho. On 8 Dec 2016, at 08.29, Adrian Zubarev via swift-evolution wrote: Whoops I meant d

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-08 Thread Aron Lindberg via swift-evolution
I think this is a great idea! I would prefer calling it folderprivate tho. > On 8 Dec 2016, at 08.29, Adrian Zubarev via swift-evolution > wrote: > > Whoops I meant directoryprivate not dictionaryprivate. I’m probably still > sleepy. > > > > > -- > Adrian Zubarev > Sent with Airmail >

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-07 Thread Adrian Zubarev via swift-evolution
Whoops I meant directoryprivate not dictionaryprivate. I’m probably still sleepy. --  Adrian Zubarev Sent with Airmail Am 8. Dezember 2016 um 08:18:24, Adrian Zubarev (adrian.zuba...@devandartist.com) schrieb: You haven’t seen this in the list because no one requested dictionaryprivate yet.

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-07 Thread Jim Malak via swift-evolution
Hi Adrian, Yes, submodule would describe it. - Jim _ From: Adrian Zubarev mailto:adrian.zuba...@devandartist.com>> Sent: Thursday, December 8, 2016 2:18 AM Subject: Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate? T

Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-07 Thread Adrian Zubarev via swift-evolution
You haven’t seen this in the list because no one requested dictionaryprivate yet. :D @core-team: See what you have done with >>file

[swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?

2016-12-07 Thread Jim Malak via swift-evolution
My apologies up front if I am going about this incorrectly. I have been exploring extensions in Swift 3 both as a part of protocol-oriented programming and as a way to encapsulate related code to improve readability and maintainablity of otherwise more complex classes I have designed. I am able