J
Joshua Cranmer
Sorry, i have no idea what errors you're talking about here. What do you
mean by 'server'? Could you give a couple of examples?
Typo. It's supposed to be "service" providers.
Sorry, i have no idea what errors you're talking about here. What do you
mean by 'server'? Could you give a couple of examples?
Mike said:Really? To me, destructive testing is absolutely necessary,
If you guys are going to argue, at least pick theses that contradict
each other. For example, pick different numbers for how many angels can
dance on the head of a pin.
36.3 if it doesn't have a bulbous plastic head, 5417.24 if it does.
Typo. It's supposed to be "service" providers.
Tom said:No, because clearly 'head' refers to the pointed end, which is never
bulbous and plastic.
Lew said:If you guys are going to argue, at least pick theses that contradict each
other. For example, pick different numbers for how many angels can dance
on the head of a pin.
Okay, cool. I still don't get it, though - what errors are thrown by
misconfigured service providers? Do you mean things like LinkageError
and so on thrown when some service provider jar doesn't match up with
the rest of the environment?
Yes.. except a computer language has very specific unambiguous
effects. Its not like speaking English or Klingon - its like casting a
spell that invokes a genie in the machine.
With a computer language, especially when you want implementations to be
consistent and you want your process to perform what you mean when you
incant it from your magic words - having very clearly defined semantics
is extremely useful. Syntax is not enough. Ask Mickey Mouse what
happened when he got the syntax right but the semantics wrong when he
was a magician's apprentice.
Mike said:Angles have the attribute of position but not the attribute of
extension, so the answer is "all of them".
Lew said:On 06/14/2010 11:21 AM,
That was a typo, right? You intended "angels" for "angles", I'm assuming.
My point was that the discussion of what constitutes a "reasonable"
program in this thread had devolved to the level at which theologians of a
few centuries ago stood when they debated how many angels could dance on
the head of a pin.
java.xml.parsers.FactoryConfigurationError:
Thrown when a problem with configuration with the Parser Factories exists.
This error will typically be thrown when the class of a parser factory
specified in the system properties cannot be found or instantiated.
No.
But it seems that maybe I don't have a clear understanding of what you
mean by the "interpretation" of the "formal" part.
What do you mean?
Is this interpretation "in terms of the real world" specified by formal
logic? Because I was refering to this interpretation - and I had no idea
you had intended this interpretation was formally defined. I am still
not sure you meant that. Did you?
Huh? Thats what you meant? You interpret java programs as desribed in
this link?
Really?
You insist on calling a private instance field "global".
ClassCastException said:If you write a program with a mutable field visible throughout the entire
program, then I consider it to be a global even if it's because your
program consists of a one-instance class with an instance field.
Mike Schilling said:You can consider it whatever you like, but you'll be alone.
Andreas said:Having code like:
enum Foo {
THE_INSTANCE;
public int my_non_static_var;
}
makes "Foo.THE_INSTANCE.my_non_static_var" equivalent to a static
with respect to most of the up- and downsides of real static
variables or global variables in C/C++.
That's how I understand CCE's point.
I do not claim, that it was relevant in the context, where the
field was contained in some non-static Session-object, which
is quite a different thing.
Lew said:"most" != all, and the (misnamed) 'my_non_static_var' is still not global.
For one thing, if there are more than one enum constant, there will be more
than one 'my_non_static_var'. "Global" != "shared".
There no doubt is a valid point in there somewhere, but to communicate it one
must use the language of the community. The /Princess Bride/ and /Through the
Looking-Glass/ quotes upthread should have illuminated that point.
There are dangers in shared variables, but that doesn't make them global.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.