1
$\begingroup$

I am a programmer and recently we had some problems with a certain function $f$ that tends to infinity near 10, and we can not have such great values as a result.

Recently there was a collegue trying to tweak the original function to get it close to a fixed number, suppose 10. Although I just suggested using a step function (programming if) to solve it quickly, he said that it could be seen as sloppy or lazy.

Considering that neither of us are mathematicians nor math gurus, is this approach considered negatively by mathematicians?

Edit: Thanks a lot for your responses and sadly I do not recall the exact function, and my collegue is absent, although as soon as he is back I will ask him the formula.

  • 0
    You will probably get better information if you describe the function (and its purpose) along with the two different adjustments.2012-09-12

2 Answers 2

1

"You know we all became mathematicians for the same reason: we were lazy."

-- Max Rosenlicht

  • 0
    @rschwieb thanks and I hope that I can dialogue with my collegue into doing the simplest solution and not having to deal with problems that can be avoided.2012-09-12
0

Mathematicians do this sort of "tweaking" all the time. It is not inherently "sloppy or lazy". Of course I don't know anything about your particular problem - there may or may not be better approaches.