Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^11: Plack Middleware aXML

by Logicus
on Oct 21, 2011 at 08:24 UTC ( #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.


Comment on Re^11: Plack Middleware aXML
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
Node Status?
node history
Node Type: note [id://932839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-07-30 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls