In Debug.jl:
module Debug
include("AST.jl")using Debug.AST
end
After the `include`, `AST` is already in `Debug.jl`'s global scope, why it
needs to `using Debug.AST` instead of `using AST`?
On Friday, May 13, 2016 at 12:25:43 AM UTC+2, Tim Holy wrote:
>
> It's been a while, but long ago I remember noticing that Debug.jl has a
> more
> fine-grained module structure.
>
> Best,
> --Tim
>
> On Thursday, May 12, 2016 12:34:23 PM Ford Ox wrote:
> > I did read those and it didn't make it much clearer to me. (Hell I
> didn't
> > even know what is coupling until this Thursday morning)
> > That's why am I asking for example and possibly some page on this topic
> in
> > docs, since I have been programming in OO languages all my short
> > programmers life and Julia comes with completely different approach.
> > Some things from OO can be achieved by different approach, some things
> > can't be achieved and shouldn't be even tried to.
> > I don't want to reinvent the wheel. I don't wanna try make Julia OO. But
> I
> > want coupling / nicely distributed code into multiple files (that's why
> OO
> > exist in the first place right?).
> >
> > And I am sure that many people joining julia (especially with v1.0) will
> be
> > asking the same question. Therefore I would expect some official guide
> at
> > one visible place (which this thread is no more).
> >
> > Dne čtvrtek 12. května 2016 19:40:06 UTC+2 David Anthoff napsal(a):
> > > Do a search for “encapsulation” in this google group and you’ll find
> quite
> > > a number of discussions on some of the design philosophies around this
> > > topic, many from the julia devs.
> > >
> > >
> > >
> > > *From:* [email protected] <javascript:> [mailto:
> > > [email protected] <javascript:>] *On Behalf Of *Ford Ox
> > > *Sent:* Thursday, May 12, 2016 10:20 AM
> > > *To:* julia-users <[email protected] <javascript:>>
> > > *Subject:* [julia-users] Re: Julia large project example.
> > >
> > >
> > >
> > > I am sorry for those words. The idea of that sentence should have
> been:
> > >
> > > "Your approach looks like a big no no.
> > > Could julia devs share their idea of how should apple encapsulation
> > > achieved? Since they are the one, who invented this language, they had
> to
> > > consider *encapsulation* many times already, so they should be the
> very
> > > first person who gives advice on this particular topic (since nobody
> > > answered this topic well one comes to conclusion that they are also
> the
> > > only one who can answer it)."
> > >
> > > Thank you for your time and patience devoting to my questions.
> > >
> > > Dne čtvrtek 12. května 2016 18:52:22 UTC+2 Kristoffer Carlsson
> napsal(a):
> > >
> > > I am pretty sure the Julia developers can speak for themselves. A more
> > > humble approach would suit you well.
>
>