Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Why are you ignoring all other of my points?

I addressed the only point I saw as relevant. Your "points" are not arguments; they are a fait accompli.

In not so many words, your position amounts to: If it ain't object-oriented, it ain't right.

You are of course welcome to hold that opinion, but there are other programming paradigms.

And people were reliably handling errors and exceptions for many years before OO took hold of the collective imagination. And the techniques used then are still just as reliable as they ever were. Google for "ABEND" to see a system that been working just fine for a very long time.

But exceptions are not a magic bullet that will fix badly architected code.

Nothing will do that, but that's not an argument on the issue.

For me, it is the very crux of the issue. OO doesn't automatically fix all sins; and code does not have to be OO to be good or reliable.

I'd argue that inspecting user error messages for error type determination is bad code.

Worded that way, you're right.

But omit two pernicious little words and you get: inspecting error messages for error determination".

Which is exactly what has been going on in Perl, and many other languages, for decades. And perfectly successfully thank you.

And your determination to see it as "bad code" just highlights your own blinkered outlook.

And I'd argue that attempting to fix architectural problem by layering OO over everything, is the second most pervasive ill of the software industry today. It's not just "bad code", but bad education.

Suggesting that :

  • the doSomething or die ...; idiom is always bad;
  • and that doSomething() or Some::Ridiculously:Long::Identifier->throw() is always good;

is both: to deny history; and hopelessly naive.

It's attempting to dictate a programming monoculture. And monoculture is bad in any field.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^15: eval to replace die? by BrowserUk
in thread eval to replace die? by hsmyers

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (3)
    As of 2018-07-21 06:12 GMT
    Find Nodes?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

      Results (444 votes). Check out past polls.