in reply to Convincing management for OO

Make a proof of concept. Take several scripts that are similar to each other, rewrite them into modules, write tests. Show them how the number of lines to maintain was reduced, how easy it is to extend it. Shorter time to deliver, less bugs to appear, and if so, most of them caught before the code goes to production. That should convince them.

You might need to talk to your manager to get their support to do it during working hours, otherwise, you'd have to sacrifice your spare time.

I've been in a similar situation. My manager supported me a lot in the effort, but in the end, the best solution was to quit the company. May you be luckier!

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: Convincing management for OO
by Anonymous Monk on Mar 03, 2017 at 03:03 UTC

    Yes, I'll try to write some common scripts into modules and demonstrate the benefits. :)

    But it is very unlikely since some old developers are too used to scripting approach with 100+lines of subroutines.