Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: detecting $& usage

by sleepingsquirrel (Chaplain)
on Jan 27, 2004 at 17:18 UTC ( [id://324483]=note: print w/replies, xml ) Need Help??


in reply to Re: detecting $& usage
in thread detecting $& usage

Then why is it your problem? The user could put in a sleep 1_000_000_000 as well, or use a billion other ways to slow down the entire program.
It's his problem, because he's more concerned with actually accomplishing a task, rather than conforming to some bureaucratic "rules" about what is and what isn't in his job description. And since he's building verilog tool, I'll bet his "users" are highly educated engineers who are trying to get actual products out the door and he's trying to prevent any unnecessary slow downs caused by inadequate knowledge of perl trivia on the part of his users. I'd guess he is not attempting to prevent his users from being malicious. In my mind, I picture this scenario: they've got an IC tapeout 1 week away, and one of the 20 engineers on the project has tweeked some his tests a little at the last minute (to better catch bugs, because these bugs cost $1+ million in NRE per spin for a 0.1um CMOS process), and it now uses $&. It runs fine on his tiny test circuit, but when it gets rolled into the full 100 million gate IC, the test that used to take 5 hours now takes 100 hours. Oh, and they probably lose $50,000 a day in revenue for every day they slip (ouch).

Replies are listed 'Best First'.
Re: detecting $& usage
by Abigail-II (Bishop) on Jan 27, 2004 at 17:30 UTC
    If they are highly educated, why not just say "if you use $&, the program slows down heavily", and let the highly educated engineers decide whether it matters or not.
    In my mind, I picture this scenario: ...
    I think they company would benefit much more from getting a decent testing procedure than to focus on one particular issue that might cause a slow down.

    Your situation is best described as "penny-wise, pound foolish". Except that the pounds are worth lots of dollars.

    Abigail

      Have you ever tried to teach an engineer? They just want to use what will get their job done. Some are even vehemently against some techie telling them not to do something.

      Usually, they are pretty good, but there are some that just don't think they need to change.

      --MidLifeXis

        Have you ever tried to teach an engineer?
        I am an engineer. Highly educated as well. And yes, I have trained all kinds of tech people, including engineers.

        Abigail

      If they are highly educated, why not just say "if you use $&, the program slows down heavily", and let the highly educated engineers decide whether it matters or not.
      Exactly how is that different from what the original poster wanted?
      Anyone know how I can detect the use of $', $& or $' ? Using these variables kills the performance of our application and I want to generate a warning
      Better yet, it will help out future users, even though they didn't get your original memo ;-)
        Exactly how is that different from what the original poster wanted?
        It differs so much, they have hardly anything in common. What I suggest is telling people "it's safer to drive with the seatbelts on", while the OP wants camera's installed at the highway that detect whether or not people are wearing safety belts or not.

        Abigail

Log In?
Username:
Password:

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

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

    No recent polls found