There are a number of tools out there to properly install a program:
http://java-source.net/open-source/installer-generators
The only one I have ever used is AntInstaller, but that was a long time
ago. I've seen quite a few uses of IzPack in recent years.
Someone else might have more to say
http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html
On 16/07/10 00:09, Nick wrote:
I was thinking about this on the drive to work a few months ago. OO
does mimic the way we view the world in its focus on objects or
nouns. Think about how you would describe a scene to
, coding efforts are going in the right
direction...Hibernate too, is one of those, but it does need some
fixes...
Thanks for the update .
Regards,
jd
On 7/14/10, Peter Becker peter.becker...@gmail.com wrote:
On 13/07/10 22:41, jitesh dundas wrote:
Have you heard of Hibernate/Spring for hiding
On 14/07/10 19:16, Moandji Ezana wrote:
The thing I find most useful about Hibernate is that when you have a
lot of tables of inter-related data, it really alleviates the pain of
having to think about what data you need to load for each possible
workflow.
Not if you care about scalability, in
On 14/07/10 21:22, Moandji Ezana wrote:
On Wed, Jul 14, 2010 at 11:45 AM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
On 14/07/10 19:16, Moandji Ezana wrote:
The thing I find most useful about Hibernate is that when you
have a lot
application..The problem is the data that
you are trying to update...
Are we doing that correctly..
Let us not blame Hibernate for everuything friends..There is more than
what meets the eye..
Regardsm,
jd
On Wed, Jul 14, 2010 at 6:00 PM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com
No, it doesn't. And it also supports JPA annotations, so you don't need
any XML at all.
Peter
On 14/07/10 22:44, Kevin Wright wrote:
hang on... does hibernate continue to read XML files after it's loaded?
If so, then that would *definitely be a bottleneck!
On 14 July 2010 13:25, jitesh
There was a FLOSS Weekly podcast a while ago with some guy describing
the work done in Nepal. That definitely sounded like OLPC had/has some
impact there.
http://www.olpcnews.com/countries/nepal/ole_nepal_on_floss_weekly.html
It's a very interesting episode to listen to. Many of the effects
On 13/07/10 22:41, jitesh dundas wrote:
Have you heard of Hibernate/Spring for hiding DB related issues..
It hides them so well that it usually takes at least 10 times longer to
fix them. It does so by layering a coat of its own issues over the DB.
Peter (who tends to get cynical when
This might be not suitable for everyone, but I find the combination of
(public transport + netbook + tethering) extremely helpful. OTOH I am
currently accepting a commute of 1h+ as opposed to ~30min direct drive,
I am not sure I'll keep that up.
At the moment pretty much 90%+ of my private
At some level in the code IOException and SqlException are part of the
domain model. They should just not be allowed to bubble up.
Peter
On 27/06/10 18:19, Kevin Wright wrote:
There's a school of thought stating that checked exceptions are okay
for domain-level concepts, but not
I think people have been a bit harsh at times, but I think it is ok to
give some criticism.
I always enjoy feedback for my open source projects, even the negative
stuff. If people file bug reports (or the equivalent thereof), then it
means they care enough to not only spend some time with
to a particular IDE, so that means ant or
maven. I'm a bit old school, so I also like the command line.
One frustration I had with maven (years ago, when I last looked at it)
was perfectly illustrated by Peter Becker with his mvn $GOAL
example. It was never obvious to me what value needed
way longer.
Peter
On 22/06/10 21:21, Fabrizio Giudici wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/22/10 12:46 , Wildam Martin wrote:
On Tue, Jun 22, 2010 at 10:38, Peter Becker
peter.becker...@gmail.com wrote:
Maven might feel too complex or too limiting when you
On 17/06/10 03:30, Karsten Silz wrote:
On 4 Jun., 22:34, Casper Bangcasper.b...@gmail.com wrote:
So is this a general tendency all around, code generation becoming
mainstream? I've traditionally feared the day I can't do full round-
trip engineering in plain view but depend on magic
For me the big problem with Solaris (Open or not) is the lack of decent
package management. Not only is the tool ridiculous (why does it ask me
if I want to remove a package when I update it?), what is worse is that
the repositories seem to be either more outdated than the Enterprise
Linux
On 18/06/10 01:22, Marcelo Fukushima wrote:
On Wed, Jun 16, 2010 at 6:42 PM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
For me the big problem with Solaris (Open or not) is the lack of
decent package management. Not only is the tool
As someone who has some flavour of Ubuntu on every
desktop/laptop/netbook I use (including a MacBook Pro and a recent
iMac), I have been wondering a lot about why people like MacOS better.
Everytime I use it I get annoyed, and I truly believe only part of that
is the fact that I'm not used to
On 12/06/10 09:37, Christian Catchpole wrote:
On Jun 11, 9:30 pm, Peter Beckerpeter.becker...@gmail.com wrote:
Did I
mention that I have a very strong dislike of that startup sound from the
not-BIOS? :-)
That's because it's a tritone, also known as The Devils Interval
On 03/06/10 14:41, Robert Casto wrote:
It doesn't matter what happened. It is not that hard to change some
domain records to point to another machine somewhere and put up a
simple page that tells people what is going on.
In some sense it actually is -- due to the fact that domain records are
On 01/06/10 18:35, Moandji Ezana wrote:
On Tue, Jun 1, 2010 at 7:12 AM, Michael Neale michael.ne...@gmail.com
mailto:michael.ne...@gmail.com wrote:
I think it shows it in its worst light, when others show examples it
is OK I guess...
I agree, I don't think they're particularly ugly.
...
On 25 May 2010 00:29, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
Hey -- at least time you bothered with a segway. This is just lazy
and/or ignorant.
And you will have changed the thread subject for all the poor
GMail users now
Yes, Kevin. This is the walled garden thread, don't post anything that
hasn't been cleared with the management. And never ever consider
changing the subject line, otherwise you get into trouble with the
Google overlords.
Peter
On 25/05/10 01:17, Rakesh wrote:
I think you posted to the
Hey -- at least time you bothered with a segway. This is just lazy
and/or ignorant.
And you will have changed the thread subject for all the poor GMail
users now -- they will get confused about where to find the old thread. ;-)
To still answer the question you pose: The real problem is not
Apple consider to be a core competency that they are
defending here?
On 24 May 2010 23:54, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
Yes, Kevin. This is the walled garden thread, don't post anything
that hasn't been cleared with the management
On 22/05/10 05:50, Karsten Silz wrote:
On 21 Mai, 15:53, Reinier Zwitserlootreini...@gmail.com wrote:
I wonder if they were inspired by netbeans which has a similar
jawdropping centralized crash reports database.
The iPhone has had crash reports copied from the device through iTunes
I think it will highly depend on the success of Windows 7. The same
effect that happened with IE6 might happen with IE8 in a corporate
environment: it might be deemed good enough so there will be no business
case for installing anything else. Consumers will probably be pushed
ahead to IE9 by
They wouldn't update their Windows either unless they have to. Chances
are something will break, and I think every organization I deal with has
some program testing what exactly breaks, probably since Vista came out.
I suspect the IE6-8 upgrade is probably even used as an argument for
the
I remember the days when I spent more money on sound cards than graphic
cards :-)
I used to have an SB AWE with the extra MT-32 board stuck on top -- all
of that is probably now easily beaten by the on-board sound in my
netbook. Although I've never connected it to decent speakers, so I don't
I think for some context this is right. We have started reducing IE6
support in our public facing applications (i.e. we ensure you get
everywhere, but don't bother too much with getting the looks right). We
have even added IE6 warnings on some of the more JavaScript heavy sites
-- if you get
On 18/05/10 05:36, Casper Bang wrote:
I'm going to say one more really mean thing that will piss everyone
off: when you have a community that has repeatedly made it clear that
it is not willing to pay for stuff, and whose intellectual leadership
rails against the concept of intellectual property
I believe he was actually a very fond Mac user in his days, but I also
think he would question Apple's current direction strongly.
Peter
On 17/05/10 23:21, Rakesh wrote:
42 - the gift that keeps on giving.
I'm sure if Douglas was with us today he would have something pithy to
say about
On 13/05/10 17:37, Vince O'Sullivan wrote:
On May 13, 7:58 am, Fabrizio Giudicifabrizio.giud...@tidalwave.it
wrote:
What about The phone number / credit card number must not contain
spaces which I constantly find in checkout/etc pages?
Which reminds me... ...yesterday I entered my
IIRC there was no notion of something like CSS when the web was invented
and most of what is written down in the HTML and JavaScript related
standards nowadays came out of proprietary extensions by Netscape and
MS. A lot is still not sufficiently supported consistently across the
main desktop
On 09/05/10 18:52, Eddie wrote:
I have tried to use linux as a desktop and back out. It just seemed
to me that everything that can be done w/ windows w/ a few clicks
needed extreme effort to work around in linux.
ie. All my friends uses msn messenger, then I would use pidgin, but
then I can use
On 09/05/10 05:27, Blanford wrote:
I started trying to get people to use systems like Ubuntu for years
with little success.
We Linux people must resign ourselves to the fact that most American's
simply cannot handle products that are not commercial.
I'm not in America, my playing fields are
On 09/05/10 09:21, Wildam Martin wrote:
[...]
I shudder at the
thought of mutability in some of this, the API effectively states that you
can change May 5th to become September 22nd;
Who cares? - Really: This is something, a professor at university may mutable
have a philosophic
Can't resist.
I've been using Linux as my main desktop OS for many years now, nowadays
even my wife and daughter use it (and no: I did not force that, all
their machines are dual-boot). At work I often have to use Windows and
apart from performance issues I see lots of usability problems.
I consider it very common to have commit emails, often to dedicated
mailing lists. My preferred solution is trac, which works with a number
of VCS backends (including SVN, Mercurial and git):
http://trac.edgewall.org/timeline
That's not exactly email, but I like the RSS/web combo. And it
One thing I often notice is that people (and not just Americans) equate
a free market with an unregulated market. But an unregulated market
tends to monopolies, which probably don't fit most people's definition
of free market (if they have any). I think politically a lot went
wrong when the
On 24/04/10 21:30, Eric Jablow wrote:
On Apr 23, 7:46 pm, Peter Beckerpeter.becker...@gmail.com wrote:
But let's think more practical. Number one I would sell is the move from
CVS to SVN. CVS is just too scary due to it's lack of atomic commits.
The consistent revision number across the
...@gmail.com wrote:
On Apr 23, 7:46 pm, Peter Becker peter.becker...@gmail.com
mailto:peter.becker...@gmail.com wrote:
But let's think more practical. Number one I would sell is the
move from
CVS to SVN. CVS is just too scary due to it's lack of atomic
commits
.
On Sat, Apr 24, 2010 at 2:30 PM, Eric Jablow erjab...@gmail.com
mailto:erjab...@gmail.com wrote:
On Apr 23, 7:46 pm, Peter Becker peter.becker...@gmail.com
mailto:peter.becker...@gmail.com wrote:
But let's think more practical. Number one I would sell
From a personal perspective the first thing I'd fix is replacing XP
with Ubuntu -- the lack of responsiveness and decent CLI tools tends to
drive me crazy (no, Cygwin is not a proper UNIX environment).
But let's think more practical. Number one I would sell is the move from
CVS to SVN. CVS is
The problem is not just technical and affects all digital media,
including the CD: http://en.wikipedia.org/wiki/Loudness_war
The Wikipedia article mentions it even existed for vinyl releases when
producers tried to make their music louder in jukeboxes.
Considering that trend it does make
of the adverts and the
resumption of the program (at least, here in the UK)
On 22 April 2010 21:44, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
The problem is not just technical and affects all digital media,
including the CD: http://en.wikipedia.org
Reinier,
On 18/04/10 07:37, Reinier Zwitserloot wrote:
Fine, let's exclude 0 as a counting number.
That wasn't my point though. Ignore it. *you* omitted the irrefutable
point that in set theory there is such a thing as the empty set, and
there's such a thing as a set's size, and thus 0 is
[was: a new programming language]
I don't find either Reinier's or Dykstra's reasoning conclusive.
First Reinier's points:
RULE 1: Counting elements in a list is in the domain of the natural
numbers. Therefore, if negative numbers are needed the solution is
inferior.
Traditionally zero is
On 09/04/10 08:13, Scott Melton wrote:
Would you agree that patents and property rights greatly accelerate
the rate of innovations, accelerating the growth of a free market
economy?
Not at all -- I claim the opposite and the jury is still out. Even
proponents of patent law seem to
On 07/04/10 19:13, Christian Catchpole wrote:
Disclaimer: I once worked on a patient review board for a large
corporation
Somehow that typo amuses me in a sad way.
Peter
--
You received this message because you are subscribed to the Google Groups The Java
Posse group.
To post to this
I can see a working version of that scenario you describe, but I wonder
how aspects like remote communication and concurrency will work. I think
it is feasible, but it won't be easy to get a nice user experience.
And then there is the question how much value you add. As a gimmick it
is great,
GMail often doesn't show you your own mail if you post through IMAP.
Most of the time, actually -- but not always.
GMail is another walled garden -- it works well as long as you use the
GMail interface, but the IMAP interface behaves weird in some regards
and the fact that renaming an email
I can see this work on something like MS Surface, but also on a
wall-mounted large multi-touch screen if we are talking the code review
or mentoring scenarios.
But I agree though touch interfaces are often overrated, in particular
the multi-touch variation. They have their place, but they are
You can get 1920x1200 on 15 laptops ;-)
My old 15 one is 1680x1050, which is quite enjoyable. I'll probably try
the 1920 the next time round.
Peter
On 12/03/10 19:20, Fabrizio Giudici wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In short, to second others' opinion: -1 for
On 12/03/10 19:35, Fabrizio Giudici wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/12/10 10:30 , Peter Becker wrote:
You can get 1920x1200 on 15 laptops ;-)
I know, I've seen one years ago. Too bad Apple is so innovative to
deliver only 1440x900 at 15 where 1680x1050
I had the same impressions: it seems to wasteful for editing, but
extremely useful for anything that is explorative. Discussions about
code came to mind, the debugging use case they showed as well as the
scenario where you have to sit down and grok code you haven't seen
before.
On 11/03/10 21:56, Jo Voordeckers wrote:
On Thu, Mar 11, 2010 at 12:27 PM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
Did anyone else get the impression this is written in Swing? The
code in the editors had plenty of JPanels over
On 11/03/10 22:21, Viktor Klang wrote:
On Thu, Mar 11, 2010 at 1:19 PM, Casper Bang casper.b...@gmail.com
mailto:casper.b...@gmail.com wrote:
Did anyone else get the impression this is written in Swing? The
code in
the editors had plenty of JPanels over it and if these guys
The current generation of IDEs already supports this navigation
approach, just not the visualization. I hardly ever go through the file
hierachy to find a file to open, I use the shortcuts to open types or
resources, I use the shortcut to go into a method that's called, I find
all callers via
On 12/03/10 06:51, Viktor Klang wrote:
On Thu, Mar 11, 2010 at 9:43 PM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
The current generation of IDEs already supports this navigation
approach, just not the visualization. I hardly ever go
not entirely up to speed on the IDE state of the art).
*From:* Peter Becker peter.becker...@gmail.com
*To:* javaposse@googlegroups.com
*Sent:* Thu, March 11, 2010 3:43:41 PM
*Subject:* Re: [The Java Posse] Re: Code Bubbles: A really
On 09/03/10 21:45, Karsten Silz wrote:
On 9 Mrz., 00:11, Peter Beckerpeter.becker...@gmail.com wrote:
There are other
commercial offerings such as the Atlassian tools which are loved by many
(http://www.atlassian.com/). I've got not too much experience with
those, but that little bit
I second that. We use trac a lot and while it has its limitations, it
makes up for it by being extremely accessible. There is also a number of
plugins to tailor it to specific needs. It can use a variety of
versioning systems and Mylyn has integration for trac tickets.
One major limitation we
The first time I encountered turbo buttons was in IBM ATs (or
compatible), where they reduced the CPU speed to roughly that of an IBM
XT. Otherwise older programs would run way too fast. Once the PCs left
the binary area (XT or AT), the button got a bit useless -- programs had
learned to use
The days when soft scrolling was an impressive feat. But working with
some guys who started with punch cards and soldering irons I don't try
to pull the been here for long card anymore :-)
One day I might go to Warpstock, though -- after all that is still an
annual conference, so OS/2 just
I never really got out of the research stage, but KMyMoney and jgnash
seemed decent contenders in the OSS world.
http://kmymoney2.sourceforge.net/index-home.html
http://sourceforge.net/apps/mediawiki/jgnash/index.php?title=Main_Page
The OpenDirectory has a lot of links to offer:
John Stager wrote:
I love the fact that this discussion uses the correct spelling of
colours
:)
On Dec 11, 4:00 am, Peter Becker peter.becker...@gmail.com wrote:
And then a dinosaur comes and forces you to swap the green skivvy for a
blue one. Such is life.
Peter
Christian Catchpole
And then a dinosaur comes and forces you to swap the green skivvy for a
blue one. Such is life.
Peter
Christian Catchpole wrote:
I wonder if the wiggles have the same issues. I heard their colour
choices were down to who got to the skivvy shop the quickest.
On Dec 10, 10:44 am, Joe
Brian Leathem wrote:
On 10/12/09 8:10 PM, Reinier Zwitserloot wrote:
I always thought Service-Oriented-Architecture was a a devteam take-a-
break bullshit word.
You know, something you tell the brass so they get off your back for a
month or two, giving the team time to spend some much
Phil wrote:
I have a Mercurial repository on my laptop which I clone locally to
make code changes, these changes are committed locally and
periodically groups of changes are pushed back into the 'master'
repository. This works well.
Last night I set up a new clone of the repository on a NAS
Brian Leathem wrote:
On Nov 13, 8:38 am, Kevin Wright kev.lee.wri...@googlemail.com
wrote:
On Fri, Nov 13, 2009 at 4:34 PM, Alexey inline_f...@yahoo.com wrote:
Otherwise, doesn't seem too difficult to write your own such method,
no?
It is indeed trivial to write my own
(candidates.length 0);
double knownMaxValue = Double.MIN_VALUE;
for(double candidate : candidates)
if(candidate knownMaxValue)
knownMaxValue = candidate;
return knownMaxValue;
}
/Casper
On Nov 14, 10:57 pm, Peter Becker peter.becker...@gmail.com wrote:
Brian
I keep thinking what we need are Maven distributions. Or at least one of
them.
The big feature distributions add to the Linux world is that they do QA
and select packages that work together. No one does this in the Maven
world -- at least not that I am aware of.
I don't think it is a
suite confidence could rise.
But I guess I'm preaching to the choir :-)
Peter
On Tue, Nov 10, 2009 at 1:01 PM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
I keep thinking what we need are Maven distributions. Or at least
one of
them
Casper Bang wrote:
Peter: Any experiences with the new EC2 support of the server version?
Sorry, no. I just used it to evaluate another product -- it seemed a
good excuse to try the 9.10 server.
Peter
--~--~-~--~~~---~--~~
You received this message
Jan Goyvaerts wrote:
Did somebody in here already did the upgrade to (k)ubuntu 9.10 ?
I thought it better to ask before asking my machine to commit suicide. :-)
I started with alpha 6 at home, with the beta at work (both Kubuntu).
Two issues I had:
1) half of the dialog buttons in Eclipse
Jan Goyvaerts wrote:
Did somebody in here already did the upgrade to (k)ubuntu 9.10 ?
I thought it better to ask before asking my machine to commit suicide. :-)
I started with alpha 6 at home, with the beta at work (both Kubuntu).
Two issues I had:
1) half of the dialog buttons in Eclipse
Kevin Wong wrote:
Perhaps some code would help. Here's the stripped down version:
public class AbstractFoo {
private ListThing thingsToProcess;
public void setThingsToProcess(ListThing things) {
this.thingsToProcess = things;
}
protected void processThing(Thing
But are they giving away their hard work out of altruism or market
necessity? Somehow the choice of proprietary features seems to indicate
the latter.
But good on them -- even if I think that NetBeans and Eclipse had more
impact in open sourcing IntelliJ IDEA than anyone at Jetbrains. I'd
Jess Holle wrote:
Peter Becker wrote:
I have heard of (and from) many people involved in the development of
relational databases and/or the SQL standard who regret the introduction
of NULL. Codd wanted it replaced with two distinct values, Date called
them a disaster. IIRC Jim Melton had
I think the best way to indent is to have the braces on separate lines
and indentation levels and then put semicolons after the tabs to make
the indentation level more visible:
for (int y = 0; y lines; y++)
{
;for (int x = 0; x columns; x++)
;{
;;sum +=
And it alls starts with the language specs still being written at the
abstraction level of a concrete syntax. Chapter 1: Tokenization.
Peter
Joshua Marinacci wrote:
RANT!
Why, in the 21st century, are we still writing code with ascii symbols
in text editors, and worried about the exact
I have heard of (and from) many people involved in the development of
relational databases and/or the SQL standard who regret the introduction
of NULL. Codd wanted it replaced with two distinct values, Date called
them a disaster. IIRC Jim Melton had some negative comments, too:
three)
It can collapse one two, then the third because they are all constant.
((getOne() + two ) + three)
the first collapse produces something unpredictable.
On Aug 27, 7:43 am, Peter Becker peter.becker...@gmail.com wrote:
Alexey Zinger wrote:
There are quite a few
Alexey Zinger wrote:
There are quite a few optimizations with strings, for sure. Such as
replacing concatenation using + operator with StringBuilder and
concatenation of literals with a single literal (*).
There's an interesting exception to that rule. The following will
work as
)
==
(one two three)
It can collapse one two, then the third because they are all constant.
((getOne() + two ) + three)
the first collapse produces something unpredictable.
On Aug 27, 7:43 am, Peter Becker peter.becker...@gmail.com wrote:
Alexey Zinger wrote:
There are quite a few
:) I thought the original question was why
getOne() + two + three
doesnt become
getOne() + two three
even if it was
getTotallyRandom() + two three
On Aug 27, 9:07 pm, Peter Becker peter.becker...@gmail.com wrote:
I did miss the point (or in fact the little word not).
I think
Martin Wildam wrote:
[...]
Maybe we should look at error handling from different point of views.
First, there is the very normal dummy user who don't have a clue on
what is there running in the background. Second there is a system
administrator who - if something goes wrong - could see
implementations so far suck far worse than they
help. I remain convinced that java's checked exception system with an
explicit command to get around the checked exception system is the
most practical (though it is of course not the most elegant).
On Aug 21, 11:43 am, Peter Becker peter.becker...@gmail.com
because it is so
closely related to implementation details.
Joel was dead wrong.
On Aug 21, 3:40 pm, Martin Wildam mwil...@gmail.com wrote:
On Aug 21, 2:07 pm, Peter Becker peter.becker...@gmail.com wrote:
I take the point that it is possible to make code harder to read using
Martin Wildam wrote:
On Aug 22, 7:23 am, Peter Becker peter.becker...@gmail.com wrote:
While I'm still arguing for checked exceptions, I'm not 100% convinced
their good yet either. But nearly every argument I see why they are bad
is about how they are used badly, with the conclusion
Casper Bang wrote:
On 23 Aug., 01:25, Peter Becker peter.becker...@gmail.com wrote:
Someone should probably write a nice book talking only about error
handling, the different ways to propagate errors (special return values,
checked exceptions, unchecked exceptions, union types
I still kind-of like listening to Joel and Jeff. Both make me cringe at
times, but I like their attitude towards product design and I think Joel
has quite some insight into the marketing/business side of software.
But I don't think I'd want either as the chief architect of some
enterprise
Number one clearly does not apply to checked exceptions, number two
applies to returning values, too. Of course you could assign a value and
follow the approach of having a single return statement at the end, but
I never understood why the resulting code should be any easier.
Peter
Martin
that wraps a Safe InputStream and does not throw IOException, and one
that wraps an unsafe InputStream and does throw IOException.
On Aug 20, 9:36 am, Peter Becker peter.becker...@gmail.com wrote:
Here you go (three files):
= test/Unsafe.java==
package test;
import
, 11:33 am, Peter Becker peter.becker...@gmail.com wrote:
Number one clearly does not apply to checked exceptions, number two
applies to returning values, too. Of course you could assign a value and
follow the approach of having a single return statement at the end, but
I never understood why
Martin Wildam wrote:
On Aug 21, 2:07 pm, Peter Becker peter.becker...@gmail.com wrote:
I take the point that it is possible to make code harder to read using
exceptions in a way that is not possible without. I must admit I didn't
really think it through when I read Joel's blog post
B Smith-Mannschott wrote:
[...]
Some have argued that there's nothing wrong with checked exceptions,
per se, it's just that people don't use them right. This is akin to
acknowledging that every attempt to practice communism on a national
level has lead to a repressive police state, and yet
Ben Schulz wrote:
The one trick is to realize that the safe version is actually the more
specific one. If you think of the exception in terms of the type union
(not accurate, but a decent analogy), then Unsafe.method() returns
void|IOException while Safe.method() returns void, which is a more
manageable to me -- both for the compiler and the human
reader. Does anyone know reasons why no language seems to have this feature?
Peter
James Iry wrote:
On Tue, Aug 18, 2009 at 3:13 AM, Peter Becker peter.becker.de
http://peter.becker.de@gmail.com http://gmail.com wrote:
What I
1 - 100 of 223 matches
Mail list logo