Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^11: Plack Middleware aXML

by Logicus (Initiate)
on Oct 21, 2011 at 08:24 UTC ( [id://932839]=note: print w/replies, xml ) Need Help??


in reply to Re^10: Plack Middleware aXML
in thread Plack Middleware aXML

>you need a strict/warnings to warn about typos

Not really, at most you need something to make sure the tags are properly formed and correctly nested, a trivial task really, but then if your not capable of typing simple meta tags accurately you probably shouldn't be programming in the first place.

The system I have makes no such checks firstly because it would slow things down unnecessarily, and secondly because if a tag is malformed the parser simply ignores it and you get graceful degradation rather than compiler errors.

The upshot of that is that it's basically impossible to prevent successful compilation by typing bad aXML in, hence the strict/warnings issue is completely mute.

Replies are listed 'Best First'.
Re^12: Plack Middleware aXML
by Anonymous Monk on Oct 21, 2011 at 09:02 UTC

    The system I have makes no such checks firstly because it would slow things down unnecessarily, and secondly because if a tag is malformed the parser simply ignores it and you get graceful degradation rather than compiler errors.

    warnings are warnings not errors, everyone needs lint

    if your not capable of typing simple meta tags accurately you probably shouldn't be programming in the first place.

    You contradict yourself

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://932839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found