Earlier quoted context omitted.
Higher rate my foot. Cell phones in Switzerland and Germany are crazy expensive. It costs people like 0.20 cents to call someone with a phone, and I pay like 0.25 cents or something. When I used to have a phone in Germany, I used to spend upwards of 90 euros a month calling like I was used to in the states, where I basically have as much calling as I need for $50 (including tax and all that sneaky bullshit). Cell pho…
Is that 0.25 cents (as written) or 25 cents ?
Wikileaks To Leak 5000 Open Source Java Projects
121–130 of 140 posts
Re: Wikileaks To Leak 5000 Open Source Java Projects
#122Earlier quoted context omitted.
Considering the history, don't you mean "Does .NET have something similar to Java's reflection?"
I don't understand the up-votes on this. He asked a reasonable question and phrased it with respect to his knowledge base. Your reply assumes he knows the answer to the question he's asking. Huh?
Re: Wikileaks To Leak 5000 Open Source Java Projects
#123Earlier quoted context omitted.
One of the things that I have used access controls for is to simplify the exposed surface that collaborators work with. This isn't a condescending "I don't trust you" intention. It's more along the lines of "of all the types and methods here, you only need to know about this small subset". It's customer service, I tell ya! And if the API isn't sufficient by not exposing enough, that's fine. It's always easier to expo…
Maybe easier for you (very debatable), but never easier for the guy who needed something exposed today to get his job done. I have never been bitten by over-promiscuous code entries in Python. The times I've gone beyond the published API, I knew I was doing it so I knew I had to keep track of it. And I've gone deep here (replacing Django's database handling in their unit testing framework). On the other hand, I can't…
I know that I would prefer to work with an interface with 10 public classes with 50 public methods than an interface with 100 public classes with 5000 public methods.
The conceptual weight of wading through all of that stuff has a cost. There is often value in not knowing or caring about implementation details.
Although I do agree that final/sealed is generally just mean-spirited and pointless.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#124Re: Wikileaks To Leak 5000 Open Source Java Projects
#125For a second I was actually hoping someone leaked Google's internal stack and all of it was GPL.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#126Earlier quoted context omitted.
Maybe easier for you (very debatable), but never easier for the guy who needed something exposed today to get his job done. I have never been bitten by over-promiscuous code entries in Python. The times I've gone beyond the published API, I knew I was doing it so I knew I had to keep track of it. And I've gone deep here (replacing Django's database handling in their unit testing framework). On the other hand, I can't…
You may have a planes-that-crash bias there. You don't notice all the times you benefit from a well encapsulated service because it just works the right way. The rare handful of times when something that would be useful is marked private is what sticks out in your mind. I know that I would prefer to work with an interface with 10 public classes with 50 public methods than an interface with 100 public classes with 500…
But when I need to deviate from that API, for whatever reason is important to me but not to the library designer (from a bug to a weird environmental issue specific to me), if I can't get done what I need to, the language is getting in my way instead of helping me.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#127I can't decide whether this is serious or not. Don't doubt the actual wikileaks announcement just the comments from the various sources seem too funny to be true. favorite: "But use it exactly how I tell you to use it, because fuck you, it's my code. I'll decide who's the goddamn grown-up around here."
Re: Wikileaks To Leak 5000 Open Source Java Projects
#128Earlier quoted context omitted.
Yeah, it's fine for our software but not their music
Is open source music a particularly big phenomenon?
Re: Wikileaks To Leak 5000 Open Source Java Projects
#129Earlier quoted context omitted.
You may have a planes-that-crash bias there. You don't notice all the times you benefit from a well encapsulated service because it just works the right way. The rare handful of times when something that would be useful is marked private is what sticks out in your mind. I know that I would prefer to work with an interface with 10 public classes with 50 public methods than an interface with 100 public classes with 500…
Your argument assumes that you need language-enforced mechanisms in order to define a well-encapsulated API. That is simply not that case, as the many well designed APIs in Python, Ruby, and Lisp can attest (and many poorly designed APIs in Java as well). You can use documentation, conventions, and other mechanisms to define the publicly exposed API so one doesn't have to know the guts. But when I need to deviate fro…
I was just trying to point out that there are both benefits and drawbacks to language-enforced encapsulation and the benefits may be less obvious than than the drawbacks, which are generally more painful.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#130Christ, this guy never ceases to amaze. His talk at I/O a couple years ago was absolutely fantastic: http://www.youtube.com/watch?v=BttI-y9VzXQ
One of the points he makes is that VMs are obvious for the purpose of language interop. Seems like C and Lisp (and D, another language he mentions) have been interoperating with each other without a VM in common for quite a while.
Today you can have a language in 2 years with the biggest set of libs out there.