http://www.perlmonks.org?node_id=932839


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