Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9787

Re: Looking for general advice on complex program

References <mailman.1130.1310845699.1164.python-list@python.org> <18eb8b2b-fcf6-4700-a849-b58204f2004c@glegroupsg2000goo.googlegroups.com>
Date 2011-07-18 17:42 +1000
Subject Re: Looking for general advice on complex program
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1206.1310974961.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Jul 18, 2011 at 1:33 PM, Josh English
<Joshua.R.English@gmail.com> wrote:
> Sadly, I'm the type of guy who almost has to re-invent the wheel. When I started XML processing, it was on an old computer and I couldn't get things like lxml to work, or understand the ones I did manage to install. To fully understand XML processing and validating, I had to write my own XML validation utility.
>

Actually, this isn't a bad thing. Writing your own XML validator is an
excellent way to gain proper comprehension of XML. Look up all the
specifications and be sure that your parser complies with them, and
you'll truly understand what XML is all about.

For production code, it's often better to take a ready-made solution,
if only to save you the trouble of coding it. But for learning, taking
someone else's code can lead to black-box mentality - "I push this in
here and I get that out there" - which can lead to all sorts of
ridiculous piles of overlaid protocols. Yes, I've seen some pretty
dumb stuff floating around!

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Looking for general advice on complex program Josh English <Joshua.R.English@gmail.com> - 2011-07-17 20:33 -0700
  Re: Looking for general advice on complex program Chris Angelico <rosuav@gmail.com> - 2011-07-18 17:42 +1000

csiph-web