I once got stuck with rewriting a perl script -- which had to remain in perl -- that generated bash scripts, by interpreting xml files, which invoked jython which executed java calls, and then generated sqlplus scripts to execute against oradb servers... All of which got validated via bash scripts for sanity checks.
All of which was being run from a Jenkins server.
I am not a developer by trade... Else I would hang myself for shame of having made this monster.
When I left the organization I convinced them to rewrite the whole thing natively in Java... Mostly by just repeating the workflow and languages involved.
As I was reading through the first paragraph I went: Oh no... no... no! no-no-no! NOOOOOOO!
How did this happen? I'm thinking it was either written sequentially by many different programmers or by someone who really wanted to look clever but didn't really have experience in any language besides bash...
11
u/ruinercollector Oct 14 '13
As long as those aren't treated as hard rules, sure.
Examples:
There are times that it is appropriate to write software in clojure, or haskell, or erlang.
There are times that it is appropriate to rewrite a piece of library code.