HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ynd

no profile record

comments

ynd
·vor 18 Jahren·discuss
That was humor :)

The rest is funnier. Give it a try.
ynd
·vor 18 Jahren·discuss
I bet they were looking for extensibility.

I wonder if they ever thought of providing two interfaces.

1. The first is the common case.

    Document doc = new DocumentBuilder().parse("test.xml");
2. The second is more cumbersome but provides options.

    Document doc = DocumentBuilderFactory.newInstance(opts).newDocumentBuilder(opts2).parse("test.xml");