I'm working as an offshore Senior Oracle ERP Developer with a BPO Company and have a Onshore Manager ("MM"). I've been working here for over two years now and one thing I noticed from the beginning was the lack of IT standards in terms of Service Management, coding standards and best practices. This causes us a lot of issues, re-work and conflicts. Even MM, my direct manager, does not adhere to the rules.
During one of our screen-sharing sessions, he even modified and compiled code in directly into production. Usual IT Policies state that only Database Administrators should compile code into Production if there's an approved Change Request. I mentioned this to him but he said he has the Database priviledge and he knows what he's doing.
To cite some more examples:
During another screen-sharing session, he wanted me to put a COMMIT inside my Stored Procedure, but this is considered bad practice. Despite my protests and citing some cases where this can be catastrophoc, he insisted on putting the COMMIT and I was left with no choice but to do it. When the procedure ran the next day, it failed and the updated records couldn't be recovered. We had to get data from a backup and re-create the table.
During yet another screen-sharing session, he wanted me to exclude a certain Payroll ID from a query. I tried putting a Sub-Query to avoid Hard-Coding the ID but he insisted that I should just put "Payroll_ID <> 31" because he knew 31 was the Payroll_ID. Despite my numerous protests, he insisted and I had no choice but to do what he wants once again.
The third scenario is similar to the second scenario above but the only difference is I told him No:
Me: "MM, I'm sorry but i really have to disagree with you here. I will not hard-code the ID as I already mentioned to you that this is not the best practice and may lead to issues. "
MM: "Best practices are not true, its based off books and concepts. I have 30+ years of experience in this field, so don't tell me about best practices."
So yet again, I was left with no choice but to adhere to what he wanted.
- He does not create documented specification and changes its requirement literally before the actual deployment of a completely developed and tested code.
I've even given him demonstrations and suggestions on how best practices will positively impact our work but he turns a blind eye on it.
What's the best way or are there other ways I can convince him to adhere to Standard Practices not to violate IT policies?