The doubly great thing about this article is that maybe Steve Yegge will start blogging again. :)
Wikileaks To Leak 5000 Open Source Java Projects
131–140 of 140 posts
Re: Wikileaks To Leak 5000 Open Source Java Projects
#132The doubly great thing about this article is that maybe Steve Yegge will start blogging again. :)
Re: Wikileaks To Leak 5000 Open Source Java Projects
#133Earlier quoted context omitted.
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 totally agree that language-enforced mechanisms aren't the only way to get meaningful encapsulation. People can (and do) write good code or bad code in any language. 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.
Given the choice, I'll choose consenting adults. :)
Re: Wikileaks To Leak 5000 Open Source Java Projects
#134Earlier quoted context omitted.
The difference between phones, and all other products, is that phones don't work unless you're currently in a business relationship with some telecom or another. It's a bit more like selling someone a nuclear reactor—they're beholden to your rules as long as they have no other source of fissile materials.
Having worked on both telephones and nuclear reactors, I can say for sure they have nothing in common.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#135Earlier quoted context omitted.
But it's not a many to many mapping, that's the point he was making. Lots of languages interop with C, but you can't just import a ruby module into a python script very easily. In fact if you want to link to C libraries from D you have to modify the C header files to turn them into D modules.
I think Microsoft actually did a reasonable job with the "original" COM (ie OLE 2.0 - the stuff that let you put an Excel 95 spreadsheet into a Word 95 document). It had a bit too much bolted on, probably due to its origins in OLE, and I think "dynamic OLE" was a tragic mistake. And its reference counting approach was a lot more appropriate in the early 90s than it is today (where a compacting GC may be the smart cho…
Re: Wikileaks To Leak 5000 Open Source Java Projects
#136I have to say, for me private methods and fields are not a security thing. They are a way to keep the public interface clean and only confront the user with the information they need.
And that's the problem.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#137Re: Wikileaks To Leak 5000 Open Source Java Projects
#138I like it, but making fun of Java (and Java's "thought leaders") is just too easy. It's like shooting fish in a barrel. With a grenade launcher. Eclipse is another matter: far more ridicule is called for. Far, far more.
Exactly: Or Smalltalk or Ruby for that matter, which both facilitate information hiding via private access. It's great to feel superior, isn't it?
Matz would never deny us of our right to snoop around where we don't belong.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#139I have to say, for me private methods and fields are not a security thing. They are a way to keep the public interface clean and only confront the user with the information they need.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#140Earlier 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 ?