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


Groups > comp.lang.python > #9778 > unrolled thread

Re: Looking for general advice on complex program

Started byJosh English <Joshua.R.English@gmail.com>
First post2011-07-17 20:33 -0700
Last post2011-07-18 17:42 +1000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#9778 — Re: Looking for general advice on complex program

FromJosh English <Joshua.R.English@gmail.com>
Date2011-07-17 20:33 -0700
SubjectRe: Looking for general advice on complex program
Message-ID<18eb8b2b-fcf6-4700-a849-b58204f2004c@glegroupsg2000goo.googlegroups.com>
Chris,

I got my solution working, at least on my local machine. I'm trying to bundle it for testing on location.

I've thought about the server-client model and one day I may have the guts to tackle that, but I don't think it's this project. 

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.

Josh

[toc] | [next] | [standalone]


#9787

FromChris Angelico <rosuav@gmail.com>
Date2011-07-18 17:42 +1000
Message-ID<mailman.1206.1310974961.1164.python-list@python.org>
In reply to#9778
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web